From 3fb2d605a2795150e9ac464da086dc2028d559a3 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Fri, 7 Nov 2008 20:48:13 +0000 Subject: [PATCH] Updated update error to be more accurate --- inxi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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