update_asr(8): fix argument handling

Passing in labels of specific services did not actually work at all.

Change-Id: I9501bc0206f0ce5cf064f1453fdf171c4c930aae
This commit is contained in:
David van Moolenbroek
2016-01-13 20:32:28 +01:00
committed by sambuc
parent bdb565187c
commit fe7ecbbff1
+4 -1
View File
@@ -55,7 +55,10 @@ shift $(($OPTIND - 1))
if [ $# -eq 0 ]; then
services=$(echo /proc/service/*)
else
services="$@"
services=
for label in $@; do
services="$services /proc/service/$label"
done
fi
for service in $services; do