mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
fix missing brace
This commit is contained in:
parent
0ad1f016ed
commit
11f544b3ba
1 changed files with 1 additions and 6 deletions
|
@ -361,7 +361,7 @@ if __name__ == "__main__":
|
|||
stats['4505/est'], stats['4506/est'] = SaltNetstat().run().next()
|
||||
|
||||
# print only in intervals
|
||||
if s_time % args['ival']) == 0:
|
||||
if (s_time % args['ival']) == 0:
|
||||
# prevent printing within the same second
|
||||
if r_time != s_time:
|
||||
if args['only_ip']:
|
||||
|
@ -382,10 +382,5 @@ if __name__ == "__main__":
|
|||
stats[item] = 0
|
||||
r_time = s_time
|
||||
|
||||
|
||||
except KeyboardInterrupt:
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue