Skip to content

Commit

Permalink
change abort condition
Browse files Browse the repository at this point in the history
  • Loading branch information
mwarning committed Apr 12, 2018
1 parent 15c88ae commit 78422ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zerotier/files/zerotier.init
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ start_instance() {
local sf="/tmp/zt.$cfg.secret"

zerotier-idtool generate "$sf" > /dev/null
[ -f "$sf" ] || return 1
[ $? -ne 0 ] && return 1

secret="$(cat $sf)"
rm "$sf"
Expand Down

0 comments on commit 78422ce

Please sign in to comment.