diff options
author | maximilian attems <maks@debian.org> | 2010-06-17 11:45:30 +0200 |
---|---|---|
committer | maximilian attems <maks@debian.org> | 2010-06-17 13:59:49 +0200 |
commit | 969f8fdc8561869dfc600ed6bc5cd892df3c130e (patch) | |
tree | 0c55f950a96307a2c069852f2b96911924c67c8e /lsinitramfs | |
parent | ecb8416d5ede3e5eae463802721c2a12216b61a4 (diff) | |
download | initramfs-tools-969f8fdc8561869dfc600ed6bc5cd892df3c130e.tar.gz initramfs-tools-969f8fdc8561869dfc600ed6bc5cd892df3c130e.zip |
lsinitramfs: set errexit and nounset
better protect it from the start as have the pain later..
Signed-off-by: maximilian attems <maks@debian.org>
Diffstat (limited to 'lsinitramfs')
-rwxr-xr-x | lsinitramfs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lsinitramfs b/lsinitramfs index 809445f..3f67381 100755 --- a/lsinitramfs +++ b/lsinitramfs @@ -1,5 +1,7 @@ #!/bin/sh +set -eu + usage() { echo "Usage: $(basename $0) <initramfs file>" |