additional check
[public/netxms.git] / tools / stub.sh
index 40fc49d..5a380d3 100755 (executable)
@@ -48,7 +48,7 @@ if [ $? != 0 ]; then
        exit;
 else
        cd $temp
-       chmod +x ./$command
+       chmod +x ./$command || echo "Can't chmod $command" && exit
        ./$command
 fi