r3757 fix bug by removing "local": the variable is not inside a function any more
authorDenis Ovsienko <infrastation@yandex.ru>
Sun, 6 Jun 2010 20:11:54 +0000 (20:11 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Sun, 6 Jun 2010 20:11:54 +0000 (20:11 +0000)
gateways/deviceconfig/main

index 50e0c12d45f4514ee4b9d40d4d8d787a0a546d4e..92e63821066b6e079daf8c61f60644e7178f7daf 100755 (executable)
@@ -53,7 +53,7 @@ while read command endpoint handler conftext; do
                exit 1
        }
        "$MYDIR/$handler.connector" $endpoint $command "$conftext"
-       local ret=$?
+       ret=$?
        if [ $ret = 0 ]; then
                echo "OK!request '$command' complete for $endpoint"
        else