additional check
authorAlex Kirhenshtein <alk@netxms.org>
Mon, 31 Jan 2005 01:30:38 +0000 (01:30 +0000)
committerAlex Kirhenshtein <alk@netxms.org>
Mon, 31 Jan 2005 01:30:38 +0000 (01:30 +0000)
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