Bug 241633 - Configuration files not read correctly
Summary: Configuration files not read correctly
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: pm-utils
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Phil Knirsch
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-05-29 06:06 UTC by Bojan Smojver
Modified: 2015-03-05 01:18 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-05-29 13:43:51 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Bojan Smojver 2007-05-29 06:06:04 UTC
Description of problem:
/usr/lib/pm-utils/functions reads configuration files in /etc/pm/config.d
incorrectly. Line 27 should be:

[ -f $cfg ] || continue

Instead of:

[ -f $cfgs ] || continue


Version-Release number of selected component (if applicable):
0.99.3-6.fc7

How reproducible:
Always.

Steps to Reproduce:
1. Put more than one file in /etc/pm/config.d
2. Run pm-hibernate/pm-suspend
  
Actual results:
Syntax errors reported.

Comment 1 Phil Knirsch 2007-05-29 13:43:51 UTC
Fixed in next rawhide build.

Read ya, Phil


Note You need to log in before you can comment on or make changes to this bug.