fix #423: Remove lock file when daemon force quits

License: MIT
Signed-off-by: Lilith McMullen <iggnsthe@live.com>
This commit is contained in:
Laevos 2018-05-25 21:01:46 -05:00
parent 2e05583bb4
commit a01ecab3a7

View File

@ -198,6 +198,7 @@ Note that this may corrupt the local cluster state.
`)
case 3:
out("exiting cluster NOW")
locker.tryUnlock()
os.Exit(-1)
}
}