mirror of
https://github.com/smxi/inxi.git
synced 2025-05-05 21:52:39 +00:00
(no version change)
Fixed redundant error inxi word, added error number to output, this should have been done long ago.
This commit is contained in:
parent
30f749bc6d
commit
3aa1ebfee1
1 changed files with 1 additions and 1 deletions
2
inxi
2
inxi
|
@ -273,7 +273,7 @@ error_handler()
|
|||
;;
|
||||
esac
|
||||
# then print it and exit
|
||||
print_screen_output "$SCRIPT_NAME: $error_message"
|
||||
print_screen_output "Error $1: $error_message"
|
||||
exit $1
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue