summaryrefslogtreecommitdiff
path: root/usr/src/cmd/cron
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/cron')
-rw-r--r--usr/src/cmd/cron/at.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/usr/src/cmd/cron/at.c b/usr/src/cmd/cron/at.c
index c441b019e6..d6730beec5 100644
--- a/usr/src/cmd/cron/at.c
+++ b/usr/src/cmd/cron/at.c
@@ -48,6 +48,7 @@
#include <libintl.h>
#include <tzfile.h>
#include <project.h>
+#include <paths.h>
#include "cron.h"
@@ -606,11 +607,7 @@ copy(char *jobfile, FILE *inputfile, int when)
ulimit_flag = 1;
} else {
/* SHELL is NULL or unset, therefore use default */
-#ifdef XPG4
- Shell = shell = "/usr/xpg4/bin/sh";
-#else
- Shell = shell = "/bin/sh";
-#endif /* XPG4 */
+ Shell = shell = _PATH_BSHELL;
ulimit_flag = 1;
}