Typo/bug in pm-utils (FC5)?

wwp subscript at free.fr
Sun Apr 23 22:03:28 UTC 2006


Hello all,


isn't there a typo in /etc/pm/functions from pm-utils-0.15-1 (FC5)?
I was wondering in what directory ./suspended was looked for.. until I read
the next lines, who make reference to /.suspended!

--- functions.orig      2006-04-23 23:52:00.000000000 +0200
+++ functions   2006-04-23 23:50:11.000000000 +0200
@@ -104,7 +104,7 @@
 {
        VT=$(/usr/bin/fgconsole)
        chvt 63
-       if [ -f ./suspended ]; then
+       if [ -f /.suspended ]; then
                pid=$(cat /.suspended)
                if [ -d /proc/$pid ]; then
                        return 1


Regards,

-- 
wwp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20060424/bb3cf45b/attachment-0001.sig>


More information about the fedora-list mailing list