Cleanup work (much needed)
[tpg/opendispense2.git] / RunServerTest
index 9966176..0029d1a 100755 (executable)
@@ -3,7 +3,7 @@
 ARGS="--itemsfile items.cfg -p 11020"
 ARGS=$ARGS" --cokeport /dev/ttyUSB0"
 
-if [ "x$1" != "x" ]; then 
+if [ "x$1" == "xdbg" ]; then 
        LD_LIBRARY_PATH=. gdb --args ./dispsrv $ARGS
 else
        LD_LIBRARY_PATH=. ./dispsrv $ARGS

UCC git Repository :: git.ucc.asn.au