Skip to content

Commit

Permalink
webui: send stderr from webui-desktop to the journal
Browse files Browse the repository at this point in the history
Previously the error logs were swallowed.
  • Loading branch information
KKoukiou committed Oct 12, 2023
1 parent 42c1e92 commit d3c468f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/webui/webui-desktop
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ fi
# disable /etc/cockpit/
XDG_CONFIG_DIRS="$BROWSER_HOME" COCKPIT_SUPERUSER="pkexec" /usr/libexec/cockpit-ws -p 80 -a "$WEBUI_ADDRESS" --no-tls --local-session=cockpit-bridge &
WS_PID=$!
exec 1>&2
exec > >(systemd-cat -t anaconda) 2>&1

# Cleanup function
cleanup() {
Expand Down

0 comments on commit d3c468f

Please sign in to comment.