summaryrefslogtreecommitdiff
path: root/app-emulation/lxd/files/lxd-4.0.0.initd
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation/lxd/files/lxd-4.0.0.initd')
-rw-r--r--app-emulation/lxd/files/lxd-4.0.0.initd2
1 files changed, 1 insertions, 1 deletions
diff --git a/app-emulation/lxd/files/lxd-4.0.0.initd b/app-emulation/lxd/files/lxd-4.0.0.initd
index c55b2da6a84d..e6ae971e879f 100644
--- a/app-emulation/lxd/files/lxd-4.0.0.initd
+++ b/app-emulation/lxd/files/lxd-4.0.0.initd
@@ -28,7 +28,7 @@ start() {
}
stop() {
- if [[ "${RC_CMD}" = restart ]]; then
+ if [ "${RC_CMD}" = restart ]; then
ebegin "Stopping lxd service (but not containers)"
# start-stop-daemon sends SIGTERM with a timeout of 5s by default.
# SIGTERM indicates to LXD that it will be stopped temporarily.