aboutsummaryrefslogtreecommitdiff
path: root/cbt
diff options
context:
space:
mode:
authorChristopher Vogt <oss.nsp@cvogt.org>2017-06-15 23:47:20 -0400
committerChristopher Vogt <oss.nsp@cvogt.org>2017-06-15 23:51:21 -0400
commit96e471f914803f00dc646ebb05de24ede79227a4 (patch)
tree6bfcb212390cc915ce16ca45bb0154ca470c8264 /cbt
parentc8e56f1d45a31d9653fb69829cfac832143526c6 (diff)
downloadcbt-96e471f914803f00dc646ebb05de24ede79227a4.tar.gz
cbt-96e471f914803f00dc646ebb05de24ede79227a4.tar.bz2
cbt-96e471f914803f00dc646ebb05de24ede79227a4.zip
minor fix to error messages
Diffstat (limited to 'cbt')
-rwxr-xr-xcbt2
1 files changed, 1 insertions, 1 deletions
diff --git a/cbt b/cbt
index e2014ec..1733077 100755
--- a/cbt
+++ b/cbt
@@ -204,7 +204,7 @@ if [ $nailgun_installed -eq 1 ] || [ "$1" = "publishSigned" ]; then
use_nailgun=1
fi
-if [ $server_up -eq 0 ] && [ ! "$DEBUG" == "" ]; then
+if [ $use_nailgun -eq 0 ] && [ $server_up -eq 0 ] && [ ! "$DEBUG" == "" ]; then
echo "Can't use \`-debug\` (without \`direct\`) when nailgun is already running. If you started it up with \`-debug\` you can still connect to it. Otherwise use \`cbt kill\` to kill it."
exit 1
fi