summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-09-29 15:42:38 +0200
committerDaniel Baumann <daniel@debian.org>2012-09-29 15:42:38 +0200
commit68331c3f970e0d613dcd3d05460cce29676c4848 (patch)
treeefb31e785304529a7212ac3c2b658a72362cca33
parent8cd449e67cc1f95aa0c580e8d4817e9137cc1c70 (diff)
downloadvyos-live-build-68331c3f970e0d613dcd3d05460cce29676c4848.tar.gz
vyos-live-build-68331c3f970e0d613dcd3d05460cce29676c4848.zip
Correcting 'not-enough-arguments' check in Packages grep-aptavail helper.
-rwxr-xr-xshare/bin/Packages2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/bin/Packages b/share/bin/Packages
index 33d94fffa..a839e9a14 100755
--- a/share/bin/Packages
+++ b/share/bin/Packages
@@ -17,7 +17,7 @@ then
exit 1
fi
-if [ -z "${@}" ]
+if [ -z "${2}" ]
then
echo "Usage: $(basename ${0}) FIELD VALUE"