commit eafede3a1127af605141f3b14057945682f449bf
Author: mis <[email protected]>
Date:   Fri Mar 13 15:34:53 2020 +0100

    fix: return _false_

 lsmod-fix.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/lsmod-fix.patch b/lsmod-fix.patch
index 5491296..38664e9 100644
--- a/lsmod-fix.patch
+++ b/lsmod-fix.patch
@@ -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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rc-scripts.git/commitdiff/eafede3a1127af605141f3b14057945682f449bf

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to