summaryrefslogtreecommitdiff
path: root/lsinitramfs
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2010-06-18 12:23:37 +0200
committermaximilian attems <maks@debian.org>2010-06-18 12:23:59 +0200
commite967b03f31e784e8a8a6189c5de5d7b0e6b9bb56 (patch)
treecc02098ba11ae312a037ca93efd738a9310b968a /lsinitramfs
parentd25f6105991a6865eeaa7116c9b518af3160f0b1 (diff)
mkinitramfs, lsinitramfs: Better error message for non-GNU getopt
Reported-by: Michael Prokop <mika@debian.org> Signed-off-by: maximilian attems <maks@debian.org>
Diffstat (limited to 'lsinitramfs')
-rwxr-xr-xlsinitramfs2
1 files changed, 1 insertions, 1 deletions
diff --git a/lsinitramfs b/lsinitramfs
index 3fcc50c..91c65e1 100755
--- a/lsinitramfs
+++ b/lsinitramfs
@@ -16,7 +16,7 @@ cpio_args="--extract --quiet --list"
OPTIONS=`getopt -o hl --long help,long -n "$0" -- "$@"`
# Check for non-GNU getopt
-if [ $? != 0 ] ; then echo "Terminating..." >&2 ; exit 1 ; fi
+if [ $? != 0 ] ; then echo "W: non-GNU getopt" >&2 ; exit 1 ; fi
eval set -- "$OPTIONS"