fixed shift bug in weewx-multi

This commit is contained in:
Matthew Wall
2017-03-05 13:37:07 -05:00
parent 5b66f03747
commit 89daf1feb2

View File

@@ -148,7 +148,9 @@ count_procs() {
}
CMD=$1
shift
if [ "$1" != "" ]; then
shift
fi
INSTANCES="$@"
if [ "$INSTANCES" = "" ]; then
INSTANCES=$WEEWX_INSTANCES