diff options
author | hagbard <vyosdev@derith.de> | 2019-07-23 12:59:50 -0700 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2019-08-29 15:04:48 +0200 |
commit | 84dfd4f9a73e72d055267403065388088e75ce34 (patch) | |
tree | d9dac272201a07b035d563c5d7ebe671b36f269e | |
parent | 5eeefd4719189c29ce281d58aa1b46e0fe2f6f8d (diff) | |
download | vyatta-op-84dfd4f9a73e72d055267403065388088e75ce34.tar.gz vyatta-op-84dfd4f9a73e72d055267403065388088e75ce34.zip |
[ping command] T1450 - ping * flood is not working
-rwxr-xr-x | scripts/ping | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/ping b/scripts/ping index b72ea54..2737383 100755 --- a/scripts/ping +++ b/scripts/ping @@ -257,5 +257,6 @@ while (my $arg = shift @$args) { push @cmdargs, $optarg; } } -exec { $cmd } @cmdargs, $host; +#exec { $cmd } @cmdargs, $host; +system("sudo" , @cmdargs, $host) |