diff options
author | hagbard <vyosdev@derith.de> | 2019-07-23 12:59:50 -0700 |
---|---|---|
committer | hagbard <vyosdev@derith.de> | 2019-07-23 12:59:50 -0700 |
commit | b64a8a8c7d865039ec849ee044f7b3b818fdf6b1 (patch) | |
tree | 428ab1d64e83a414883255227f5b2cbb2c57faa9 /scripts/ping | |
parent | f69ef88616655b4d014be63d5884db1a8445dfb2 (diff) | |
download | vyatta-op-b64a8a8c7d865039ec849ee044f7b3b818fdf6b1.tar.gz vyatta-op-b64a8a8c7d865039ec849ee044f7b3b818fdf6b1.zip |
[ping command] T1450 - ping * flood is not working
Diffstat (limited to 'scripts/ping')
-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) |