diff options
author | maximilian attems <maks@debian.org> | 2010-06-18 12:23:37 +0200 |
---|---|---|
committer | maximilian attems <maks@debian.org> | 2010-06-18 12:23:59 +0200 |
commit | e967b03f31e784e8a8a6189c5de5d7b0e6b9bb56 (patch) | |
tree | cc02098ba11ae312a037ca93efd738a9310b968a /mkinitramfs | |
parent | d25f6105991a6865eeaa7116c9b518af3160f0b1 (diff) | |
download | initramfs-tools-e967b03f31e784e8a8a6189c5de5d7b0e6b9bb56.tar.gz initramfs-tools-e967b03f31e784e8a8a6189c5de5d7b0e6b9bb56.zip |
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 'mkinitramfs')
-rwxr-xr-x | mkinitramfs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mkinitramfs b/mkinitramfs index 9af5bfd..e49e01c 100755 --- a/mkinitramfs +++ b/mkinitramfs @@ -14,7 +14,7 @@ export BUSYBOXDIR OPTIONS=`getopt -o c:d:ko:r:v -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" |