diff options
| author | John Sonnenschein <johns@joyent.com> | 2011-05-13 10:25:21 -0700 |
|---|---|---|
| committer | John Sonnenschein <johns@joyent.com> | 2011-05-13 10:25:21 -0700 |
| commit | ef6d384d9c225dedb09872dae4baefbe9464d757 (patch) | |
| tree | 992db6d87a68a653c50e8a3905b7a9b275b07288 /usr/src/cmd/cron | |
| parent | 751ff766e5b3dae09b70c5e7b5881dee02b5adb2 (diff) | |
| parent | ad6bdd08cc2f39b13b67d20a6e5218c52fc30b4c (diff) | |
| download | illumos-joyent-ef6d384d9c225dedb09872dae4baefbe9464d757.tar.gz | |
[OS-411] Guava Illumos sync
Diffstat (limited to 'usr/src/cmd/cron')
| -rw-r--r-- | usr/src/cmd/cron/at.c | 7 |
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; } |
