diff options
author | Bill Nottingham <notting@redhat.com> | 2008-10-17 16:42:52 -0400 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2008-10-17 16:42:52 -0400 |
commit | ed85ae02bef997aa45184bc450c88094393803d3 (patch) | |
tree | af7a3b6f006b6d94a128575307ba149aa0b0512c /rc.d/rc.sysinit | |
parent | 66fc2646834cb7cd77837e0e4eb0ea1e2c2ebcbc (diff) | |
download | initscripts-ed85ae02bef997aa45184bc450c88094393803d3.tar initscripts-ed85ae02bef997aa45184bc450c88094393803d3.tar.gz initscripts-ed85ae02bef997aa45184bc450c88094393803d3.tar.bz2 initscripts-ed85ae02bef997aa45184bc450c88094393803d3.tar.xz initscripts-ed85ae02bef997aa45184bc450c88094393803d3.zip |
Don't check that the device exists.
Checking whether or not it's a block device already covers that.
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-x | rc.d/rc.sysinit | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index e1658315..40d67fdf 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -158,8 +158,6 @@ init_crypto() { elif [ "${src/^\/dev\/disk\/by-uuid\/}" != "$src" ]; then src=$(__readlink $src) fi - # Does it exist? - [ -z "$src" ] && continue # Is it a block device? [ -b "$src" ] || continue # Is it already a device mapper slave? (this is gross) |