aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2008-01-21 18:05:02 +0000
committerBill Nottingham <notting@redhat.com>2008-01-21 18:05:02 +0000
commit5df788f4efe51d5298d45157a9973de75a81ac4b (patch)
tree6489dee285613bc03137addf5f4403d461b1fd7d
parent2b1c771b0f0e0f32bbfeec74cf85caddf92b67eb (diff)
downloadinitscripts-5df788f4efe51d5298d45157a9973de75a81ac4b.tar
initscripts-5df788f4efe51d5298d45157a9973de75a81ac4b.tar.gz
initscripts-5df788f4efe51d5298d45157a9973de75a81ac4b.tar.bz2
initscripts-5df788f4efe51d5298d45157a9973de75a81ac4b.tar.xz
initscripts-5df788f4efe51d5298d45157a9973de75a81ac4b.zip
fix syntax error. correctly.
-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 f1f56060..ca49ec97 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" ] && cryptsetup isLuks "$src" 2>/dev/null ; then
if key_is_random "$key"; then
echo $"$dst: LUKS requires non-random key, skipping"
ret=1