packages: openvpn/openvpn.init - somewhy leading space is output with psmis...
glen
glen at pld-linux.org
Fri Jun 18 09:30:25 CEST 2010
Author: glen Date: Fri Jun 18 07:30:25 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- somewhy leading space is output with psmisc-22.11-2.i686:
ps -o pid= -C nm-openvpn-service
nm_ovpn_pid= 2895
---- Files affected:
packages/openvpn:
openvpn.init (1.36 -> 1.37)
---- Diffs:
================================================================
Index: packages/openvpn/openvpn.init
diff -u packages/openvpn/openvpn.init:1.36 packages/openvpn/openvpn.init:1.37
--- packages/openvpn/openvpn.init:1.36 Sun May 9 12:16:56 2010
+++ packages/openvpn/openvpn.init Fri Jun 18 09:30:20 2010
@@ -131,7 +131,7 @@
tunlup $tun && echo -n " $tun($(cat $pidfile))"
done
echo ""
- nm_ovpn_pid=$(ps -o pid= -C nm-openvpn-service)
+ nm_ovpn_pid=$(ps -o pid= -C nm-openvpn-service | xargs)
if [ "$nm_ovpn_pid" ]; then
nls "NM ($nm_ovpn_pid) managed OpenVPN sessions"
ps -o pid,user,command --ppid=$nm_ovpn_pid
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/openvpn/openvpn.init?r1=1.36&r2=1.37&f=u
More information about the pld-cvs-commit
mailing list