summaryrefslogtreecommitdiff
path: root/unmkinitramfs
diff options
context:
space:
mode:
Diffstat (limited to 'unmkinitramfs')
-rwxr-xr-xunmkinitramfs2
1 files changed, 1 insertions, 1 deletions
diff --git a/unmkinitramfs b/unmkinitramfs
index 9414403..852bc1b 100755
--- a/unmkinitramfs
+++ b/unmkinitramfs
@@ -120,7 +120,7 @@ splitinitramfs()
OPTIONS=$(getopt -o hv --long help,list,verbose -n "$0" -- "$@")
# Check for non-GNU getopt
# shellcheck disable=SC2181
-if [ $? != 0 ] ; then echo "W: non-GNU getopt" >&2 ; exit 1 ; fi
+if [ $? != 0 ] ; then echo "W: non-GNU getopt" >&2 ; exit 2 ; fi
cpio_opts="--preserve-modification-time --no-absolute-filenames --quiet"
expected_args=2