Browse Source

l/pcsc-lite: Fix warning in rc script.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
70a935e30c
  1. 6
      l/pcsc-lite/rc.pcscd

6
l/pcsc-lite/rc.pcscd

@ -14,13 +14,13 @@ restart)
;;
stop)
if [ -f $PIDFILE ] && kill -0 $(cat $PIDFILE) ; then
kill -TERM $(cat $PIDFILE)
if [ -f $PIDFILE ] && kill -0 $(head -n 1 $PIDFILE) ; then
kill -TERM $(head -n 1 $PIDFILE)
fi
;;
status)
if [ -f $PIDFILE ] && kill -0 $(cat $PIDFILE) ; then
if [ -f $PIDFILE ] && kill -0 $(head -n 1 $PIDFILE) ; then
echo "pcscd is running."
else
echo "pcscd is not running."

Loading…
Cancel
Save