Paste number 305723: diff

Paste number 305723: diff
Pasted by: lfam
When:5 years, 10 months ago
Share:Tweet this! | http://paste.lisp.org/+6JWB
Channel:None
Paste contents:
Raw Source | XML | Display As
diff --git a/gnu/build/linux-container.scm b/gnu/build/linux-container.scm
index eb5dbf9..e3cf70c 100644
--- a/gnu/build/linux-container.scm
+++ b/gnu/build/linux-container.scm
@@ -41,7 +41,7 @@
   "Return #t if user namespaces can be created by unprivileged users."
   (let ((userns-file "/proc/sys/kernel/unprivileged_userns_clone"))
     (if (file-exists? userns-file)
-        (string=? "1" (call-with-input-file userns-file read-string))
+        (string=? "1\n" (call-with-input-file userns-file read-string))
         #t)))

This paste has no annotations.

Colorize as:
Show Line Numbers

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.