diff options
Diffstat (limited to 'miscutils/crond.c')
-rw-r--r-- | miscutils/crond.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/miscutils/crond.c b/miscutils/crond.c index 06b8769fa..4d479bc0d 100644 --- a/miscutils/crond.c +++ b/miscutils/crond.c @@ -197,9 +197,7 @@ int crond_main(int ac, char **av) * change directory */ - if (chdir(CDir) != 0) { - bb_perror_msg_and_die("%s", CDir); - } + bb_xchdir(CDir); signal(SIGHUP, SIG_IGN); /* hmm.. but, if kill -HUP original * version - his died. ;( */ |