aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2008-01-21 17:59:02 +0000
committerBill Nottingham <notting@redhat.com>2008-01-21 17:59:02 +0000
commit2b1c771b0f0e0f32bbfeec74cf85caddf92b67eb (patch)
tree6038f1a7ed60450f07abe42a9b354f1a99b99332 /rc.d/rc.sysinit
parent6b45f0cfb703834c4a8f6e38cd2e9181206be728 (diff)
downloadinitscripts-2b1c771b0f0e0f32bbfeec74cf85caddf92b67eb.tar
initscripts-2b1c771b0f0e0f32bbfeec74cf85caddf92b67eb.tar.gz
initscripts-2b1c771b0f0e0f32bbfeec74cf85caddf92b67eb.tar.bz2
initscripts-2b1c771b0f0e0f32bbfeec74cf85caddf92b67eb.tar.xz
initscripts-2b1c771b0f0e0f32bbfeec74cf85caddf92b67eb.zip
fix syntax error (#429556)
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-xrc.d/rc.sysinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 0afd98f7..f1f56060 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -193,7 +193,7 @@ init_crypto() {
&& /usr/bin/rhgb-client --ping ; then
/usr/bin/rhgb-client --quit
fi
- if [ -z "$makeswap" -a cryptsetup isLuks "$src" 2>/dev/null ]; then
+ if [ -z "$makeswap" -a ] && cryptsetup isLuks "$src" 2>/dev/null ; then
if key_is_random "$key"; then
echo $"$dst: LUKS requires non-random key, skipping"
ret=1