- allow PingCmd and Nmb commands to be empty strings, allowing these
[BackupPC.git] / bin / BackupPC_tarCreate
index 04713df..7327a7a 100755 (executable)
@@ -48,7 +48,7 @@
 #
 #========================================================================
 #
-# Version 1.6.0_CVS, released 10 Dec 2002.
+# 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\.-]+)$/ ) {
+if ( $opts{h} !~ /^([\w\.\s-]+)$/ ) {
     print(STDERR "$0: bad host name '$opts{h}'\n");
     exit(1);
 }