summaryrefslogtreecommitdiff
path: root/scripts/vyatta-load-user-key.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/vyatta-load-user-key.pl')
-rwxr-xr-xscripts/vyatta-load-user-key.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta-load-user-key.pl b/scripts/vyatta-load-user-key.pl
index 29163f6a..d64dba8a 100755
--- a/scripts/vyatta-load-user-key.pl
+++ b/scripts/vyatta-load-user-key.pl
@@ -71,7 +71,7 @@ sub geturl {
}
$cmd .= " $url";
- open (my $curl, "$cmd |" )
+ open (my $curl, "-|", $cmd )
or die "$cmd command failed: $!";
return $curl;