summaryrefslogtreecommitdiff
path: root/scripts/ping
diff options
context:
space:
mode:
authorhagbard <vyosdev@derith.de>2019-07-23 12:59:50 -0700
committerhagbard <vyosdev@derith.de>2019-07-23 12:59:50 -0700
commitb64a8a8c7d865039ec849ee044f7b3b818fdf6b1 (patch)
tree428ab1d64e83a414883255227f5b2cbb2c57faa9 /scripts/ping
parentf69ef88616655b4d014be63d5884db1a8445dfb2 (diff)
downloadvyatta-op-b64a8a8c7d865039ec849ee044f7b3b818fdf6b1.tar.gz
vyatta-op-b64a8a8c7d865039ec849ee044f7b3b818fdf6b1.zip
[ping command] T1450 - ping * flood is not working
Diffstat (limited to 'scripts/ping')
-rwxr-xr-xscripts/ping3
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)