diff --git a/inxi b/inxi index 85e656c..80859e0 100755 --- a/inxi +++ b/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 $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 $SCRIPT_PATH/$SCRIPT_NAME" ;; *) error_message="error unknown: $@" set -- 99