diff options
author | Dave Reisner <d@falconindy.com> | 2011-06-04 19:58:14 -0400 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2011-06-05 02:25:32 +0200 |
commit | 71ef9c40189ff87d84c7bf354fb43038997913d1 (patch) | |
tree | daaae1c2b39ed6df222ed20c7861ef010cbf30b1 /rc.d | |
parent | c6adbe7a36a7330debfaa07d4351bcd80d479214 (diff) | |
download | initscripts-71ef9c40189ff87d84c7bf354fb43038997913d1.tar.xz |
remove absolute paths from daemons and rc.d
These are run from a context where PATH will be set, so defining
absolute paths is unnecessary.
Diffstat (limited to 'rc.d')
-rwxr-xr-x | rc.d | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -56,7 +56,7 @@ case $1 in cd / for i; do if [[ -x "/etc/rc.d/$i" ]]; then - /usr/bin/env -i "${ENV[@]}" "/etc/rc.d/$i" "$action" + env -i "${ENV[@]}" "/etc/rc.d/$i" "$action" else printf "${C_OTHER}:: ${C_FAIL}Error: ${C_DONE}Daemon script $i does not exist.\n" fi |