summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpm/functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/pm/functions b/pm/functions
index 830fd2e..0a44b8d 100755
--- a/pm/functions
+++ b/pm/functions
@@ -141,7 +141,7 @@ pm_main()
}
_rmmod() {
- if rmmod $1; then
+ if modprobe -r $1; then
echo "export RESUME_MODULES=\"$1 \$RESUME_MODULES\"" \
>> /var/run/pm-suspend
return 0