aboutsummaryrefslogtreecommitdiffstats
path: root/initscripts.spec
diff options
context:
space:
mode:
Diffstat (limited to 'initscripts.spec')
-rw-r--r--initscripts.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/initscripts.spec b/initscripts.spec
index 6c298d7f..82d334af 100644
--- a/initscripts.spec
+++ b/initscripts.spec
@@ -66,7 +66,7 @@ touch $RPM_BUILD_ROOT/var/log/wtmp
%pre
/usr/sbin/groupadd -g 22 -r -f utmp
-if [ ! -L /etc/rc.d -a -d /etc/init.d ]; then
+if [ -e /etc/rc.d ! -L /etc/rc.d -a -d /etc/init.d ]; then
echo "can't move /etc/rc.d/init.d -> /etc/init.d - bailing"
exit 1
fi