mirror of
https://github.com/smxi/inxi.git
synced 2025-01-31 10:02:18 +00:00
Updated update error to be more accurate
This commit is contained in:
parent
eb81af5e82
commit
3fb2d605a2
2
inxi
2
inxi
|
@ -218,7 +218,7 @@ error_handler()
|
|||
;;
|
||||
7) error_message="unsupported script parameter: $2\nFor supported options, check the help menu: $SCRIPT_NAME -h"
|
||||
;;
|
||||
8) error_message="the self-updater failed, wget exited with error: $2.\nYou probably need to be root.\nHint, to make for easy updates without being root, do: chown <user name> $SCRIPT_NAME"
|
||||
8) error_message="the self-updater failed, wget exited with error: $2.\nYou probably need to be root.\nHint, to make for easy updates without being root, do: chown <user name> $SCRIPT_PATH/$SCRIPT_NAME"
|
||||
;;
|
||||
*) error_message="error unknown: $@"
|
||||
set -- 99
|
||||
|
|
Loading…
Reference in a new issue