diff options
author | Lukas Nykryn <lnykryn@redhat.com> | 2014-06-18 10:43:13 +0200 |
---|---|---|
committer | Lukas Nykryn <lnykryn@redhat.com> | 2014-06-18 10:43:13 +0200 |
commit | 589688f12ac67d1ae8cc5a07924ffa8d8030a81e (patch) | |
tree | 4ea7f0567549882d02cc3aa316e6a74875bca462 /rc.d | |
parent | 1b8164143461e251b3805a047721e1475ea6b61a (diff) | |
download | initscripts-589688f12ac67d1ae8cc5a07924ffa8d8030a81e.tar initscripts-589688f12ac67d1ae8cc5a07924ffa8d8030a81e.tar.gz initscripts-589688f12ac67d1ae8cc5a07924ffa8d8030a81e.tar.bz2 initscripts-589688f12ac67d1ae8cc5a07924ffa8d8030a81e.tar.xz initscripts-589688f12ac67d1ae8cc5a07924ffa8d8030a81e.zip |
init.d/functions: fix typo in pid_dir
Diffstat (limited to 'rc.d')
-rw-r--r-- | rc.d/init.d/functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions index cfe7f12a..e857864a 100644 --- a/rc.d/init.d/functions +++ b/rc.d/init.d/functions @@ -148,7 +148,7 @@ __umount_loopback_loop() { __pids_var_run() { local base=${1##*/} local pid_file=${2:-/var/run/$base.pid} - local pid_dir=$(/usr/bin/dirname $pid_file > /dev/null) + local pid_dir=$(/usr/bin/dirname $pid_file) local binary=$3 [ -d "$pid_dir" -a ! -r "$pid_dir" ] && return 4 |