]> git.pld-linux.org Git - packages/rc-scripts.git/commitdiff
fix: return _false_ auto/th/rc-scripts-0.4.19-2
authormis <mis@pld-linux.org>
Fri, 13 Mar 2020 14:34:53 +0000 (15:34 +0100)
committermis <mis@pld-linux.org>
Fri, 13 Mar 2020 14:34:53 +0000 (15:34 +0100)
lsmod-fix.patch

index 5491296c66ca429341ba49384fafd18596d9a290..38664e96103a3495a397b0ae8a116d1cab845a2e 100644 (file)
@@ -5,7 +5,7 @@
  # module is needed (ie. is requested, is available and isn't loaded already)
  is_module() {
 +      # return false if /sbin/lsmod not exists (like in containers)
-+      [ -x /sbin/lsmod ] || return 0
++      [ -x /sbin/lsmod ] || return 1
 +
        # module name without .o at end
        if ! lsmod | grep -q "$1"; then
This page took 0.123532 seconds and 4 git commands to generate.