Skip to content
This repository has been archived by the owner on Jan 17, 2021. It is now read-only.

Commit

Permalink
Skip back sync if skip sync is passed
Browse files Browse the repository at this point in the history
Updates #11
  • Loading branch information
nhooyr committed Apr 23, 2019
1 parent 188ee6d commit e7939fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ chmod +x ` + codeServerPath
case <-c:
}

if !*syncBack {
if !*syncBack || *skipSyncFlag {
flog.Info("shutting down")
return
}
Expand Down

0 comments on commit e7939fd

Please sign in to comment.