From d529ba07d38396d463c48313aaca345a32b60edc Mon Sep 17 00:00:00 2001 From: Joern Siglen Date: Mon, 5 Sep 2022 17:23:26 +0200 Subject: [PATCH] dbginfo.sh: update message on not beeing root MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit add a hint that dbginfo.sh -c can check some basic stuff even as non-root Reviewed-by: Mario Held Signed-off-by: Joern Siglen Signed-off-by: Jan Höppner --- scripts/dbginfo.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/dbginfo.sh b/scripts/dbginfo.sh index 93679c84..5705afa0 100755 --- a/scripts/dbginfo.sh +++ b/scripts/dbginfo.sh @@ -103,7 +103,7 @@ Options: stores the temporary data and the final archive. -h|--help print this help -v|--version print version information - -c|--check online quick check (no data collection) + -c|--check online base system information (no data collection) Please report bugs to: linux390@de.ibm.com @@ -224,7 +224,8 @@ done # finally verification to run as root if test "$(/usr/bin/id -u 2>/dev/null)" -ne 0; then - echo "${SCRIPTNAME}: Error: You must be user root to run \"${SCRIPTNAME}\"!" + echo "${SCRIPTNAME}: Error: You must be user root to run data collection \"${SCRIPTNAME}\"!" + echo "${SCRIPTNAME}: Hint: for base system information you may run \"${SCRIPTNAME} -c\"" exit 1 fi