aboutsummaryrefslogtreecommitdiffstats
path: root/etc/init.d/zfs-load-key.in
diff options
context:
space:
mode:
Diffstat (limited to 'etc/init.d/zfs-load-key.in')
-rwxr-xr-xetc/init.d/zfs-load-key.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/init.d/zfs-load-key.in b/etc/init.d/zfs-load-key.in
index 53c7766b7..27dfeeb0b 100755
--- a/etc/init.d/zfs-load-key.in
+++ b/etc/init.d/zfs-load-key.in
@@ -104,7 +104,7 @@ do_stop()
# ----------------------------------------------------
-if [ ! -e /sbin/openrc-run ]
+if @IS_SYSV_RC@
then
case "$1" in
start)