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:
2023-06-13 14:57:43 -04:00
parent f90d502106
commit e0f37af453
+1 -1
View File
@@ -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: