mirror of
https://github.com/rwinkhart/sshyp.git
synced 2026-08-31 22:36:31 -04:00
Fixed the 'sync' argument working in offline mode if the user has previously saved sshync configurations
Former-commit-id: 9fa803ba406ede532a8d50c0138dace89cce405e Former-commit-id: b63538263fa365e5a0f9ade3b5a90d5b066fe06f
This commit is contained in:
+1
-1
@@ -859,7 +859,7 @@ if __name__ == "__main__":
|
||||
extension_runner()
|
||||
else:
|
||||
print_info()
|
||||
elif (not ssh_error and sync_flag) or (arg_count > 0 and arguments[0] == 'sync'):
|
||||
elif not ssh_error and (sync_flag or (arg_count > 0 and arguments[0] == 'sync')):
|
||||
sync()
|
||||
|
||||
except KeyboardInterrupt:
|
||||
|
||||
Reference in New Issue
Block a user