X-Git-Url: http://git.rot13.org/?p=BackupPC.git;a=blobdiff_plain;f=bin%2FBackupPC_zipCreate;h=ac0c237ec859a698adc2996deb500fb72a32c77d;hp=c91d208156fd8a227a929fbe282672a6bcefef52;hb=8a5f496e93ee77491746cb72ef9949ab91c82dae;hpb=bd5c45421b5719f1f2419ddab7df55567b0ce0fc diff --git a/bin/BackupPC_zipCreate b/bin/BackupPC_zipCreate index c91d208..ac0c237 100755 --- a/bin/BackupPC_zipCreate +++ b/bin/BackupPC_zipCreate @@ -84,7 +84,7 @@ if ( @ARGV < 1 ) { exit(1); } -if ( $opts{h} !~ /^([\w\.-]+)$/ ) { +if ( $opts{h} !~ /^([\w\.\s-]+)$/ ) { print(STDERR "$0: bad host name '$opts{h}'\n"); exit(1); }