Browse Source

Restore setting current time if the date cannot be parsed.

Pavel Roskin 22 years ago
parent
commit
0b9116d955
1 changed files with 2 additions and 2 deletions
  1. 2 2
      vfs/extfs/patchfs.in

+ 2 - 2
vfs/extfs/patchfs.in

@@ -31,9 +31,9 @@ sub datetime
     # in case of problems fall back to 0 in unix time
     # note: str2time interprets some wrong values (eg. " ") as 'today'
     if ($parsedates && defined (my $t=str2time($_[0]))) {
-	return timef($t)
+	return timef($t);
     }
-    return timef(0);
+    return timef(time);
 }
 
 # print message on stderr and exit