aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcbt2
1 files changed, 1 insertions, 1 deletions
diff --git a/cbt b/cbt
index 1f8e3cc..8cc10f1 100755
--- a/cbt
+++ b/cbt
@@ -130,7 +130,7 @@ stage1 () {
javac -Xlint:deprecation -d $NAILGUN$TARGET `ls $NAILGUN*.java`
compiles=$?
if [ $compiles -ne 0 ]; then exit 1; fi
- if [ $nailgun_installed -eq 1 ]; then
+ if [ $nailgun_installed -eq 0 ]; then
echo "Stopping nailgun" 1>&2
$NG ng-stop >> $NAILGUN/target/nailgun.stdout.log 2>> $NAILGUN/target/nailgun.stderr.log &
echo "Restarting nailgun" 1>&2