[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#126294: Fix in remove_module?



Currently remove_module (in modules/util) says:

  echo $clear$bold"`eval echo \\\"$msg_Removing_module\\\"`"$norm
  echo ""
  sync
  $SIMULATE modprobe -r $module
  if [ $? -ne 0 ]; then
    write_it_down "`eval echo \\\"$msg_not_removed\\\"`"
    return 1
  fi
  if [ -f $MODULESFILE ]; then
(....)

Obviously if the module cannot be removed (modprobe -r fails) then it won't 
be removed from the configuration. Shouldn't it just warn that the module 
cannot be removed and proceed (i.e. change the configuration) nevertheless?

Regards

Javier

Attachment: signature.asc
Description: Digital signature


Reply to: