cups-filters: show pid in the status message of the cups-browsed rc script

This commit is contained in:
Juergen Daubert 2015-06-29 17:03:46 +02:00
parent d59bbf78bb
commit 9088d177b4
3 changed files with 3 additions and 3 deletions

View File

@ -1,2 +1,2 @@
6ac0b4af2a1c70293588faf12a11b652 cups-browsed
7540a6989be0042429f41770b1cdf215 cups-browsed
5afe1bca041c905ec8861d1a6ffbc634 cups-filters-1.0.70.tar.xz

View File

@ -5,7 +5,7 @@
name=cups-filters
version=1.0.70
release=1
release=2
source=(http://www.openprinting.org/download/$name/$name-$version.tar.xz
cups-browsed)

View File

@ -21,7 +21,7 @@ restart)
status)
$SSD --status --pidfile $PID
case $? in
0) echo "$PROG is running" ;;
0) echo "$PROG is running with pid $(cat $PID)" ;;
1) echo "$PROG is not running but the pid file $PID exists" ;;
3) echo "$PROG is not running" ;;
4) echo "Unable to determine the program status" ;;