Browse Source

invoke-rc.d: Pass --full to `systemctl status', so we don't get ellipsised output.

keep-around/6cb72b59a0a1898939b818d8d210b194cf33a76b
Iain Lane 5 years ago
committed by Felipe Sateler
parent
commit
5836b30772
  1. 2
      script/invoke-rc.d

2
script/invoke-rc.d

@ -604,7 +604,7 @@ if test x${FORCE} != x || test ${RC} -eq 104 ; then
done
printerror initscript ${INITSCRIPTID}, action \"${saction}\" failed.
if [ -n "$is_systemd" ] && [ "$saction" = start -o "$saction" = restart -o "$saction" = "try-restart" ]; then
systemctl status --no-pager "${UNIT}" || true
systemctl status --full --no-pager "${UNIT}" || true
fi
exit ${RC}
fi

Loading…
Cancel
Save