diff options
author | Bill Nottingham <notting@redhat.com> | 2008-01-21 17:59:02 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2008-01-21 17:59:02 +0000 |
commit | 2b1c771b0f0e0f32bbfeec74cf85caddf92b67eb (patch) | |
tree | 6038f1a7ed60450f07abe42a9b354f1a99b99332 /rc.d/rc.sysinit | |
parent | 6b45f0cfb703834c4a8f6e38cd2e9181206be728 (diff) | |
download | initscripts-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-x | rc.d/rc.sysinit | 2 |
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 |