Skip to content

Commit

Permalink
Do not write newline to the webui pid file
Browse files Browse the repository at this point in the history
This is a fix to issue introduced in
1843885 .

With this change the logic in Web UI to quit the installation stopped
working.

Resolves: rhbz#2262413
  • Loading branch information
jkonecny12 committed Feb 5, 2024
1 parent 16acbc5 commit 669f6c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/liveinst/liveinst
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ start_anaconda_web_ui() {
# early execution of Firefox to reduce starting time
mkdir -p /run/anaconda
/usr/libexec/webui-desktop -t live /cockpit/@localhost/anaconda-webui/index.html &
echo "$!" > /run/anaconda/webui_script.pid
echo -n "$!" > /run/anaconda/webui_script.pid
}

start_anaconda() {
Expand Down

0 comments on commit 669f6c1

Please sign in to comment.