diff options
author | Micah Anderson <micah@riseup.net> | 2015-04-15 05:39:47 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2015-04-15 05:39:47 -0400 |
commit | 738ac60cd904fe00e7b6738191d6a116bd28aff9 (patch) | |
tree | 1b1e3ea2766773056a9aedda271015332d2aea3b | |
parent | bd8c8c2e3f71803dee3cb2675dba21186161c4b7 (diff) |
fix lock test
-rwxr-xr-x | leap-platform-test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/leap-platform-test b/leap-platform-test index 8848752..fd1aa01 100755 --- a/leap-platform-test +++ b/leap-platform-test @@ -90,7 +90,7 @@ check_for_running_instances() { exit 1 fi - if [ -f $lock ] + if [[ $lock && -f $LOCKFILE ]] then subj="WARNING: CI lock found - previous deploy tests failed !" msg="CI lock found, and --lock in use. This means that leap test failed on the previous run.\n Please investigate and then remove $LOCKFILE\n\n" |