We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35fe213 commit 63b1497Copy full SHA for 63b1497
1 file changed
channels/share/airootfs.any/root/customize_airootfs.sh
@@ -290,7 +290,8 @@ _systemd_service(){
290
local _command="${1}"
291
shift 1
292
for _service in "${@}"; do
293
- if [[ -f "$(systemctl cat "${_service}" 2> "/dev/null" | head -n 1 | tail | sed 's|# ||g')" ]]; then
+ #if [[ -f "$(systemctl cat "${_service}" 2> "/dev/null" | head -n 1 | tail | sed 's|# ||g')" ]]; then
294
+ if systemctl cat "${_service}" 1>&2 2>/dev/null; then
295
systemctl ${_command} "${_service}"
296
fi
297
done
0 commit comments