I recommend just adding "true" before the "end script", otherwise the
prior exit code is used on exit from the script (i.e. potential failure
of writing SLEEP_MILLISECS):

...
        else
                [ -w /sys/kernel/mm/ksm/run ] && echo 0 > /sys/kernel/mm/ksm/run
        fi
        true
end script

(or, I guess, "exit 0" if you want too)

-- 
kvm module does not get loaded unless SLEEP_MILLISECS is defined
https://bugs.launchpad.net/bugs/560110
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to