diff options
author | Joonas Niilola <juippis@gentoo.org> | 2021-03-07 08:29:27 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2021-03-07 08:32:29 +0200 |
commit | 9c60e52a45eb8cc099cd735c7dfa00516435a7a3 (patch) | |
tree | 6e8c42df326b02af992d173ee7268c738c559d8c /app-emulation/lxd | |
parent | x11-libs/libwnck: EAPI 7 (diff) | |
download | gentoo-9c60e52a45eb8cc099cd735c7dfa00516435a7a3.tar.gz gentoo-9c60e52a45eb8cc099cd735c7dfa00516435a7a3.tar.bz2 gentoo-9c60e52a45eb8cc099cd735c7dfa00516435a7a3.zip |
app-emulation/lxd: more POSIX-compliant init.d file, #609070
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-emulation/lxd')
-rw-r--r-- | app-emulation/lxd/files/lxd-4.0.0.initd | 2 |
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. |