Merge pull request #8 from oalbrigt/remove-delay-from-status-monitor-list
Remove delay from the status, monitor and list functions
This commit is contained in:
commit
da1ef15db0
@ -119,7 +119,10 @@ main(int argc, char **argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (args.delay > 0)
|
||||
if (args.delay > 0 &&
|
||||
args.op != FENCE_STATUS &&
|
||||
args.op != FENCE_DEVSTATUS &&
|
||||
args.op != FENCE_HOSTLIST)
|
||||
sleep(args.delay);
|
||||
|
||||
switch(args.mode) {
|
||||
|
Loading…
Reference in New Issue
Block a user