projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e45af7a
)
crond: fix the case when option -d is disabled
author
Denys Vlasenko
<vda.linux@googlemail.com>
Wed, 7 Sep 2011 03:56:09 +0000
(
05:56
+0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Wed, 7 Sep 2011 03:56:09 +0000
(
05:56
+0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
miscutils/crond.c
patch
|
blob
|
history
diff --git
a/miscutils/crond.c
b/miscutils/crond.c
index 014016fb63c16f3ab00fa6e03c0dae69977b8f2d..a0b73c77497018d1abed6c469bac6da8623150ab 100644
(file)
--- a/
miscutils/crond.c
+++ b/
miscutils/crond.c
@@
-861,7
+861,8
@@
int crond_main(int argc UNUSED_PARAM, char **argv)
/* "-b after -f is ignored", and so on for every pair a-b */
opt_complementary = "f-b:b-f:S-L:L-S" IF_FEATURE_CROND_D(":d-l")
- ":l+:d+"; /* -l and -d have numeric param */
+ /* -l and -d have numeric param */
+ ":l+" IF_FEATURE_CROND_D(":d+");
opts = getopt32(argv, "l:L:fbSc:" IF_FEATURE_CROND_D("d:"),
&G.log_level, &G.log_filename, &G.crontab_dir_name
IF_FEATURE_CROND_D(,&G.log_level));