diff options
Diffstat (limited to 'scripts/vyatta-commit-push.pl')
| -rwxr-xr-x | scripts/vyatta-commit-push.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta-commit-push.pl b/scripts/vyatta-commit-push.pl index 2264164..1398533 100755 --- a/scripts/vyatta-commit-push.pl +++ b/scripts/vyatta-commit-push.pl @@ -85,7 +85,7 @@ foreach my $uri (@uris) { print " $remote "; my $rc = 0; - if ($scheme eq 'scp' ){ + if ($scheme =~ /^(scp|sftp)$/ ){ $cmd = "curl -s -S -T $tmp_push_file $uri/$save_file"; $rc = system($cmd); if( $rc >> 8 == 51 ){ |
