summaryrefslogtreecommitdiff
path: root/scripts/ping
diff options
context:
space:
mode:
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)