diff options
Diffstat (limited to 'scripts/vyatta-remote-copy.pl')
-rwxr-xr-x | scripts/vyatta-remote-copy.pl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/vyatta-remote-copy.pl b/scripts/vyatta-remote-copy.pl index 93507ad..78959ec 100755 --- a/scripts/vyatta-remote-copy.pl +++ b/scripts/vyatta-remote-copy.pl @@ -54,6 +54,10 @@ if ($flag == 0) { $save_file=$save_file . ".gz" } +if ($flag == 2) +{ + $save_file=$save_file . ".tgz" +} if ($mode eq 'url') { print "Saving output to $save_file\n"; my $rc = system("curl -# -T $tmp_file $save_file"); |