summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authormaximilian attems <max@stro.at>2008-03-30 03:57:45 +0200
committermaximilian attems <max@stro.at>2008-03-30 03:57:45 +0200
commit6c25b07c692fb34f735b049be6cac4da33125b6d (patch)
tree3846a50b6e6c57ec5bb4bc39cc3e7ea3a56a343f /init
parent701f56e007030e64f117fb3ff06ed6d394bfc86e (diff)
downloadinitramfs-tools-6c25b07c692fb34f735b049be6cac4da33125b6d.tar.gz
initramfs-tools-6c25b07c692fb34f735b049be6cac4da33125b6d.zip
init: fix mkdir usage.
klibc mkdir has only the short option, use that.
Diffstat (limited to 'init')
-rwxr-xr-xinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/init b/init
index 0ec0d00..bb61bb6 100755
--- a/init
+++ b/init
@@ -3,7 +3,7 @@
echo "Loading, please wait..."
[ -d /dev ] || mkdir -m 0755 /dev
-[ -d /root ] || mkdir --mode=0700 /root
+[ -d /root ] || mkdir -m 0700 /root
[ -d /sys ] || mkdir /sys
[ -d /proc ] || mkdir /proc
[ -d /tmp ] || mkdir /tmp