Correct error-handling in touch(1)

This commit is contained in:
FRIGN 2015-02-19 18:56:59 +01:00
parent b00a00703f
commit 14b1db88bf
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ parsetime(char *str, time_t current)
case 20:
/* only Zulu-timezone supported */
if (str[19] != 'Z')
goto default;
eprintf("Invalid time zone\n");
format = "%Y-%m-%dT%H:%M:%S%Z";
break;
default: