]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
add killproc -p alias
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 9 Feb 2011 10:55:57 +0000 (10:55 +0000)
committerElan Ruusamäe <glen@pld-linux.org>
Wed, 9 Feb 2011 10:55:57 +0000 (10:55 +0000)
svn-id: @12126

rc.d/init.d/functions

index 7ff0ce69184adfd78551a0e6a79c7bdbcd5b33df..e25549c5fe487cfaa02cdf7aec4728e6c5d98844 100644 (file)
@@ -697,7 +697,7 @@ killproc() {
 
        while [ "$1" != "${1##-}" ]; do
                case $1 in
-               --pidfile)
+               --pidfile|-p)
                        pidfile="$2"
                        case "$pidfile" in /*);; *) pidfile="/var/run/$pidfile";; esac
                        shift 2
This page took 0.03855 seconds and 4 git commands to generate.