wm-request: fix unset-var error
[staging/windowmanager.git] / scripts / wm-request
index c8ab188..f9244ab 100755 (executable)
@@ -48,9 +48,11 @@ then
 fi
 UUID="`cat $UUIDFILE`"
 
+set +u
 args=
 if [ "$1" ]
 then
+   set -u
    args='{"drawing_name":"'"$1"'"}'
    shift
 fi