aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-08-16 10:35:32 +0300
committerCem Keylan <cem@ckyln.com>2020-08-16 10:35:32 +0300
commit9efd28d1a22c41833cf6dce3150b4c73b834a7d5 (patch)
tree2442f1ab0f1324fdd8e3582f288c4d8dff2ea7a6
parentaa0a0da875e1264a880d24e1529bfc72b12bba75 (diff)
downloadinit-9efd28d1a22c41833cf6dce3150b4c73b834a7d5.tar.gz
rc.boot: fix creating /0755 directory
-rwxr-xr-xrc.boot3
1 files changed, 2 insertions, 1 deletions
diff --git a/rc.boot b/rc.boot
index 46bbdda..3b46576 100755
--- a/rc.boot
+++ b/rc.boot
@@ -20,7 +20,8 @@ out "Mounting pseudo filesystems..."; {
mkdir -p /run/lvs /run/user /run/lock \
/run/log /dev/pts /dev/shm
- command -v runsvdir >/dev/null 2>&1 && mkdir -p 0755 /run/runit
+ # shellcheck disable=2174
+ command -v runsvdir >/dev/null 2>&1 && mkdir -pm 0755 /run/runit
mnt mode=0620,gid=5,nosuid,noexec devpts devpts /dev/pts
mnt mode=1777,nosuid,nodev tmpfs shm /dev/shm