[pkg-wpa-devel] r1605 - /wpasupplicant/trunk/debian/wpasupplicant.postinst

kelmo-guest at users.alioth.debian.org kelmo-guest at users.alioth.debian.org
Fri Sep 9 21:41:16 UTC 2011


Author: kelmo-guest
Date: Fri Sep  9 21:41:15 2011
New Revision: 1605

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

Modified:
    wpasupplicant/trunk/debian/wpasupplicant.postinst

Modified: wpasupplicant/trunk/debian/wpasupplicant.postinst
URL: http://svn.debian.org/wsvn/pkg-wpa/wpasupplicant/trunk/debian/wpasupplicant.postinst?rev=1605&op=diff
==============================================================================
--- wpasupplicant/trunk/debian/wpasupplicant.postinst (original)
+++ wpasupplicant/trunk/debian/wpasupplicant.postinst Fri Sep  9 21:41:15 2011
@@ -29,7 +29,9 @@
 		   [ -d /lib/init/rw/sendsigs.omit.d/ ]; then
 			for f in /lib/init/rw/sendsigs.omit.d/wpasupplicant.*.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