From b7e825068434bab80452aa1261c7de935f90ac18 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Thu, 2 Dec 2010 15:14:43 +0100 Subject: [PATCH 1/1] Improve check4root message WRT usage instructions. --- grml-debootstrap | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 {{{ -- 2.1.4