[pkg-wpa-devel] r1611 - /hostapd/trunk/debian/postinst

kelmo-guest at users.alioth.debian.org kelmo-guest at users.alioth.debian.org
Sun Sep 11 21:19:06 UTC 2011


Author: kelmo-guest
Date: Sun Sep 11 21:19:06 2011
New Revision: 1611

URL: http://svn.debian.org/wsvn/pkg-wpa/?sc=1&rev=1611
Log:
Test for pid file existence before attempting to move it.

Modified:
    hostapd/trunk/debian/postinst

Modified: hostapd/trunk/debian/postinst
URL: http://svn.debian.org/wsvn/pkg-wpa/hostapd/trunk/debian/postinst?rev=1611&op=diff
==============================================================================
--- hostapd/trunk/debian/postinst (original)
+++ hostapd/trunk/debian/postinst Sun Sep 11 21:19:06 2011
@@ -24,7 +24,9 @@
 		   [ -d /lib/init/rw/sendsigs.omit.d/ ]; then
 			for f in /lib/init/rw/sendsigs.omit.d/hostapd.*.pid
 			do
-				mv "$f" /run/sendsigs.omit.d/
+				if [ -f "$f" ]; then
+					mv "$f" /run/sendsigs.omit.d/
+				fi
 			done
 		fi
 		;;




More information about the Pkg-wpa-devel mailing list