summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2010-02-16 01:05:26 +0100
committerThomas Bächler <thomas@archlinux.org>2010-02-16 01:05:26 +0100
commit99e387a0be8ef22b9a266667a97093b35ac569b1 (patch)
tree61c3c9002f2293eb314e51d5842a076d62d292d5 /init
parent2348d65a0e27cb8d6d45863fe88a2cda2264b906 (diff)
downloadmkinitcpio-99e387a0be8ef22b9a266667a97093b35ac569b1.tar.gz
mkinitcpio-99e387a0be8ef22b9a266667a97093b35ac569b1.tar.xz
Make indentation in two code blocks consistent
Diffstat (limited to 'init')
-rw-r--r--init26
1 files changed, 13 insertions, 13 deletions
diff --git a/init b/init
index 442d534..3134530 100644
--- a/init
+++ b/init
@@ -111,20 +111,20 @@ ${mount_handler} /new_root
[ -z "${init}" ] && init="/sbin/init"
if [ "$(stat -f -c %i /)" = "$(stat -f -c %i /new_root)" ]; then
- # Nothing got mounted on /new_root. This is the end, we don't know what to do anymore
- # We fall back into a shell, but the shell has now PID 1
- # This way, manual recovery is still possible.
- err "Failed to mount the real root device."
- echo "Bailing out, you are on your own. Good luck."
- echo
- launch_interactive_shell --exec
+ # Nothing got mounted on /new_root. This is the end, we don't know what to do anymore
+ # We fall back into a shell, but the shell has now PID 1
+ # This way, manual recovery is still possible.
+ err "Failed to mount the real root device."
+ echo "Bailing out, you are on your own. Good luck."
+ echo
+ launch_interactive_shell --exec
elif [ ! -f "/new_root${init}" ]; then
- # Successfully mounted /new_root, but ${init} is missing
- # The same logic as above applies
- err "Root device mounted successfully, but ${init} does not exist."
- echo "Bailing out, you are on your own. Good luck."
- echo
- launch_interactive_shell --exec
+ # Successfully mounted /new_root, but ${init} is missing
+ # The same logic as above applies
+ err "Root device mounted successfully, but ${init} does not exist."
+ echo "Bailing out, you are on your own. Good luck."
+ echo
+ launch_interactive_shell --exec
fi
#Special handling if udev is running