summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-nds/389-ds-base/files/start-dirsrv')
-rw-r--r--net-nds/389-ds-base/files/start-dirsrv3
1 files changed, 2 insertions, 1 deletions
diff --git a/net-nds/389-ds-base/files/start-dirsrv b/net-nds/389-ds-base/files/start-dirsrv
index 4d904b499dbd..45c2a6c2c7d4 100644
--- a/net-nds/389-ds-base/files/start-dirsrv
+++ b/net-nds/389-ds-base/files/start-dirsrv
@@ -7,7 +7,8 @@
# 2: Server already running
rc-config stop 389-ds
-rc=$(rc-config start 389-ds)
+rc-config start 389-ds
+rc="${?}"
# give the daemon a chance to start
sleep 8
exit "${rc:-1}"