Browse Source

explorer/init: do not grep on non-existent init

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
merge-requests/862/head
Steven Armstrong 2 years ago
parent
commit
76d978d3d8
  1. 1
      cdist/conf/explorer/init

1
cdist/conf/explorer/init vendored

@ -221,6 +221,7 @@ check_systemstarter() {
check_sysvinit() (
init_path=${1:-/sbin/init}
test -x "${init_path}" || return 1
grep -q 'INIT_VERSION=sysvinit-[0-9.]*' "${init_path}" || return 1
# It is quite common to use SysVinit to stack other init systemd

Loading…
Cancel
Save