summaryrefslogtreecommitdiff
path: root/update-initramfs
diff options
context:
space:
mode:
authorMichael Prokop <mika@debian.org>2010-06-14 12:15:07 +0200
committerMichael Prokop <mika@debian.org>2010-06-14 12:15:07 +0200
commitab28c77261267a14cc7308e8c4d7a0b48a8ac2ab (patch)
tree86d47628ed391bd636cdb6b5e45c84426d693dc3 /update-initramfs
parent60afd2a944cf36a5bce6ca3b4c07a422e98efeba (diff)
downloadinitramfs-tools-ab28c77261267a14cc7308e8c4d7a0b48a8ac2ab.tar.gz
initramfs-tools-ab28c77261267a14cc7308e8c4d7a0b48a8ac2ab.zip
code cleanup: consequently replace spaces in indentions with tabs to unify coding stile
Signed-off-by: Michael Prokop <mika@debian.org>
Diffstat (limited to 'update-initramfs')
-rwxr-xr-xupdate-initramfs16
1 files changed, 8 insertions, 8 deletions
diff --git a/update-initramfs b/update-initramfs
index 53ebed2..f4323b7 100755
--- a/update-initramfs
+++ b/update-initramfs
@@ -51,14 +51,14 @@ EOF
# chroot check
chrooted()
{
- # borrowed from udev's postinst
- if [ "$(stat -c %d/%i /)" = "$(stat -Lc %d/%i /proc/1/root 2>/dev/null)" ]; then
- # the devicenumber/inode pair of / is the same as that of
- # /sbin/init's root, so we're *not* in a chroot and hence
- # return false.
- return 1
- fi
- return 0
+ # borrowed from udev's postinst
+ if [ "$(stat -c %d/%i /)" = "$(stat -Lc %d/%i /proc/1/root 2>/dev/null)" ]; then
+ # the devicenumber/inode pair of / is the same as that of
+ # /sbin/init's root, so we're *not* in a chroot and hence
+ # return false.
+ return 1
+ fi
+return 0
}
mild_panic()