diff options
author | maximilian attems <maks@debian.org> | 2010-06-17 11:52:20 +0200 |
---|---|---|
committer | maximilian attems <maks@debian.org> | 2010-06-17 13:59:49 +0200 |
commit | fafede51c3adca9f70bdb1bbe629db9aba35be85 (patch) | |
tree | a76e84fcb56d57f7537985e693d79d23930834ab /lsinitramfs | |
parent | 969f8fdc8561869dfc600ed6bc5cd892df3c130e (diff) | |
download | initramfs-tools-fafede51c3adca9f70bdb1bbe629db9aba35be85.tar.gz initramfs-tools-fafede51c3adca9f70bdb1bbe629db9aba35be85.zip |
lsinitramfs: allow to pass several filenames
due to the quoting use $@ to expand to several arguments.
Signed-off-by: maximilian attems <maks@debian.org>
Diffstat (limited to 'lsinitramfs')
-rwxr-xr-x | lsinitramfs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lsinitramfs b/lsinitramfs index 3f67381..e395de8 100755 --- a/lsinitramfs +++ b/lsinitramfs @@ -17,7 +17,7 @@ if [ "$1" = "-h" ] || [ "$1" = "--help" ] ; then exit 0 fi -for i in "$*" ; do +for i in "$@" ; do if ! [ -r "$i" ] ; then echo "Specified file could not be read." >&2 exit 1 |