summaryrefslogtreecommitdiff
path: root/lsinitramfs
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2010-06-17 11:52:20 +0200
committermaximilian attems <maks@debian.org>2010-06-17 13:59:49 +0200
commitfafede51c3adca9f70bdb1bbe629db9aba35be85 (patch)
treea76e84fcb56d57f7537985e693d79d23930834ab /lsinitramfs
parent969f8fdc8561869dfc600ed6bc5cd892df3c130e (diff)
downloadinitramfs-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-xlsinitramfs2
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