Changeset 546 for trunk


Ignore:
Timestamp:
12/15/2011 17:39:32 (5 months ago)
Author:
ccowart
Message:

Have to use whole-line matching to prevent substring matches.

See #120.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/confmanlib.sh.in

    r545 r546  
    527527    local statefile="$1" 
    528528    local pathname="$2" 
    529     fgrep -q "$pathname" "$statefile" 
     529    fgrep -xq "$pathname" "$statefile" 
    530530} 
    531531 
Note: See TracChangeset for help on using the changeset viewer.