Updated update error to be more accurate

This commit is contained in:
inxi-svn 2008-11-07 20:48:13 +00:00
parent eb81af5e82
commit 3fb2d605a2

2
inxi
View file

@ -218,7 +218,7 @@ error_handler()
;; ;;
7) error_message="unsupported script parameter: $2\nFor supported options, check the help menu: $SCRIPT_NAME -h" 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: $@" *) error_message="error unknown: $@"
set -- 99 set -- 99