diff options
author | Von Random <von@vdrandom.org> | 2016-10-23 12:09:06 +0300 |
---|---|---|
committer | Von Random <von@vdrandom.org> | 2016-10-23 12:09:06 +0300 |
commit | 16706a5d5f8d73491007242ac5132eea343846f5 (patch) | |
tree | fc1d9b9cca57b32e3c9897a2a57b308d8fe83a59 | |
parent | 24d9df968ecc81c4b19fabe5ed0727659713d0cb (diff) |
oops, fix one symbol missing
-rw-r--r-- | plugins/ping.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ping.py b/plugins/ping.py index f2b9854..7a48caa 100644 --- a/plugins/ping.py +++ b/plugins/ping.py @@ -30,7 +30,7 @@ class PluginThread(threading.Thread): def main(self): random.shuffle(self.hosts) for host in self.hosts: - fping = 'fping -qct' + self.timeout + ' ' + host + ' &>/dev/null' + fping = 'fping -qc1t' + self.timeout + ' ' + host + ' &>/dev/null' response = os.system(fping) if response == 0: self.format_status('on') |