wm-request: fix unset-var error
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>
Tue, 12 Sep 2017 09:29:32 +0000 (11:29 +0200)
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>
Tue, 12 Sep 2017 09:29:32 +0000 (11:29 +0200)
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
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