diff options
Diffstat (limited to 'autoscripts/postrm-modules')
-rw-r--r-- | autoscripts/postrm-modules | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autoscripts/postrm-modules b/autoscripts/postrm-modules index 45d65bea..35db8718 100644 --- a/autoscripts/postrm-modules +++ b/autoscripts/postrm-modules @@ -1,3 +1,3 @@ -if [ -x /sbin/update-modules ]; then +if [ -x "`which update-modules 2>/dev/null`" ]; then update-modules >/dev/null || [ "$?" = 3 ] fi |