[Pm-utils] [PATCH] Fix config loading

Jim Radford radford at blackbean.org
Fri Jul 6 16:21:33 PDT 2007


This fixes a typo in which was keeping multiple files from loading
from config.d directory.

-Jim

Index: pm/functions
===================================================================
RCS file: /cvs/pm-utils/pm-utils/pm/functions,v
retrieving revision 1.45
diff -u -r1.45 functions
--- pm/functions        15 May 2007 14:57:02 -0000      1.45
+++ pm/functions        6 Jul 2007 23:16:59 -0000
@@ -22,7 +22,7 @@
 {
        cfgs="/etc/pm/config.d/*[^~]"
        for cfg in $cfgs ; do
-               [ -f $cfgs ] || continue
+               [ -f $cfg ] || continue
                set -a
                . $cfg
                set +a


More information about the Pm-utils mailing list