From: Michael Prokop Date: Thu, 2 Dec 2010 14:14:43 +0000 (+0100) Subject: Improve check4root message WRT usage instructions. X-Git-Tag: v0.41~2 X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=commitdiff_plain;h=b7e825068434bab80452aa1261c7de935f90ac18;hp=cbdabc103c8568d794ed3a1eac58cbf6304a3985 Improve check4root message WRT usage instructions. --- diff --git a/grml-debootstrap b/grml-debootstrap index fe1b22b..a850a4e 100755 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -91,7 +91,10 @@ fi # make sure we have what we need {{{ check4progs debootstrap dialog || exit 1 -check4root || exit 1 +if ! check4root ; then + echo "For usage instructions please execute '$PN --help'." + exit 1 +fi # }}} # source main configuration file {{{