X-Git-Url: http://git.rot13.org/?p=BackupPC.git;a=blobdiff_plain;f=bin%2FBackupPC_tarCreate;h=7327a7a2ba25bbf740adeb040190343f980d616b;hp=3ba3bbcbeea12168ed94b61e8576129e37409f60;hb=9175f9157f0d54b50ebf11d2036c20f50ffc6d9d;hpb=0697368bbcef14908cd4684cf07744dc840464de diff --git a/bin/BackupPC_tarCreate b/bin/BackupPC_tarCreate index 3ba3bbc..7327a7a 100755 --- a/bin/BackupPC_tarCreate +++ b/bin/BackupPC_tarCreate @@ -48,7 +48,7 @@ # #======================================================================== # -# Version 2.0.0_CVS, released 18 Jan 2003. +# Version 2.0.0_CVS, released 3 Feb 2003. # # See http://backuppc.sourceforge.net. # @@ -78,7 +78,7 @@ if ( @ARGV < 1 ) { exit(1); } -if ( $opts{h} !~ /^([\w\.-\s]+)$/ ) { +if ( $opts{h} !~ /^([\w\.\s-]+)$/ ) { print(STDERR "$0: bad host name '$opts{h}'\n"); exit(1); }