diff options
author | Denis Vlasenko | 2006-12-16 23:49:13 +0000 |
---|---|---|
committer | Denis Vlasenko | 2006-12-16 23:49:13 +0000 |
commit | 9f739445cd3deddd0343c3a8d5a981ede26bef30 (patch) | |
tree | 6dc013e44d2281eb1e6f61c4bca1ae7546001f79 /miscutils/crontab.c | |
parent | a597aaddfa76d589d3e1a37b1f1c3401c2decffd (diff) | |
download | busybox-9f739445cd3deddd0343c3a8d5a981ede26bef30.zip busybox-9f739445cd3deddd0343c3a8d5a981ede26bef30.tar.gz |
inline strcmp(s, "-") [actually macro-ize it for now - gcc is too stupid]
Diffstat (limited to 'miscutils/crontab.c')
-rw-r--r-- | miscutils/crontab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/crontab.c b/miscutils/crontab.c index 39d3aae..d442272 100644 --- a/miscutils/crontab.c +++ b/miscutils/crontab.c @@ -51,7 +51,7 @@ int crontab_main(int ac, char **av) i = 1; if (ac > 1) { - if (av[1][0] == '-' && av[1][1] == 0) { + if (LONE_DASH(av[1])) { option = REPLACE; ++i; } else if (av[1][0] != '-') { |