Script error in function modunload()

Bug #197952 reported by DeJe
2
Affects Status Importance Assigned to Milestone
pm-utils (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: pm-utils

In /usr/lib/pm-utils/functions, function modunload()
this
[code]
 while read MOD D C USED D; do
  [[ "$MOD" =~ "$UNL" ]] || continue
  if [ "$USED" == "-" ]; then
[/code]
should be changed to
[code]
 while read MOD D C USED D; do
  [[ "$MOD" =~ $UNL ]] || continue
  if [ "$USED" == "-" ]; then
[/code]

As of now no modules will bo unloaded/loaded in the process cause the comparison never is true.

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.04
DISTRIB_CODENAME=hardy
DISTRIB_DESCRIPTION="Ubuntu hardy (development branch)"

pm-utils:
  Installiert:0.99.2-3ubuntu1
  Mögliche Pakete:0.99.2-3ubuntu1
  Versions-Tabelle:
 *** 0.99.2-3ubuntu1 0
        500 http://de.archive.ubuntu.com hardy/main Packages
        100 /var/lib/dpkg/status

Revision history for this message
DeJe (djenett) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.