diff options
| author | Brian Somers <brian@FreeBSD.org> | 2001-11-24 10:43:53 +0000 |
|---|---|---|
| committer | Brian Somers <brian@FreeBSD.org> | 2001-11-24 10:43:53 +0000 |
| commit | bafdc304b02fdc3e545015be7deb9089e83d0101 (patch) | |
| tree | 82766dfe2993da097ba6b79bca7ff633f5477a26 /usr.bin/at | |
| parent | c36e48514d44411cd3d817b43541afe2e58b26df (diff) | |
Notes
Diffstat (limited to 'usr.bin/at')
| -rw-r--r-- | usr.bin/at/parsetime.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/at/parsetime.c b/usr.bin/at/parsetime.c index d4e8a40b8cc8..d4797e72d170 100644 --- a/usr.bin/at/parsetime.c +++ b/usr.bin/at/parsetime.c @@ -579,7 +579,11 @@ parsetime(int argc, char **argv) init_scanner(argc-optind, argv+optind); switch (token()) { - case NOW: /* now is optional prefix for PLUS tree */ + case NOW: + if (scc < 1) { + return nowtimer; + } + /* now is optional prefix for PLUS tree */ expect(PLUS); case PLUS: plus(&runtime); |
