Update syncoid

This commit is contained in:
Jim Salter 2016-12-28 10:58:11 -05:00 committed by GitHub
parent b4bed03742
commit d437d9f8df
1 changed files with 6 additions and 1 deletions

View File

@ -4,7 +4,7 @@
# from http://www.gnu.org/licenses/gpl-3.0.html on 2014-11-17. A copy should also be available in this
# project's Git repository at https://github.com/jimsalterjrs/sanoid/blob/master/LICENSE.
my $version = '1.4.7';
my $version = '1.4.7a';
use strict;
use warnings;
@ -19,6 +19,11 @@ if ($args{'version'}) {
exit 0;
}
if (!(defined $args{'source'} && defined $args{'target'})) {
print 'usage: syncoid [src_user@src_host:]src_pool/src_fs [dst_user@dst_host:]dst_pool/dst_fs'."\n";
exit 127;
}
my $rawsourcefs = $args{'source'};
my $rawtargetfs = $args{'target'};
my $debug = $args{'debug'};