Преглед изворни кода

... without typos, please.

Signed-off-by: Laurent Bercot <[email protected]>
Laurent Bercot пре 10 месеци
родитељ
комит
42e902133b
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      layout/rootfs-overlay/package/admin/s6-overlay-@VERSION@/libexec/preinit

+ 1 - 1
layout/rootfs-overlay/package/admin/s6-overlay-@VERSION@/libexec/preinit

@@ -91,7 +91,7 @@ if test "$UID" -ne "$uid" ; then  # /run does not belong to the container user
     fi
     fi
   else
   else
     if test "$gid" -eq "$EGID" ; then x=g ; y=gs ; else x=o ; y= ; fi
     if test "$gid" -eq "$EGID" ; then x=g ; y=gs ; else x=o ; y= ; fi
-    if test "$uid" -eq 0 && echo "$perms" | s6-grep -q "${x}x${x}w${x}r.*os${y}" \
+    if test "$uid" -eq 0 && echo "$perms" | s6-grep -q "${x}x${x}w${x}r.*os${y}" ; then
       echo "$prog: warning: /run belongs to uid $uid instead of $UID, but we can still work in single-uid mapping."
       echo "$prog: warning: /run belongs to uid $uid instead of $UID, but we can still work in single-uid mapping."
     else
     else
       echo "$prog: fatal: /run belongs to uid $uid instead of $UID, has insecure permissions, and we're lacking the privileges to fix it."
       echo "$prog: fatal: /run belongs to uid $uid instead of $UID, has insecure permissions, and we're lacking the privileges to fix it."