Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/ws/cockpit-desktop.in
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,13 @@ esac
detect_browser

# start the bridge; this needs to run in the normal user session/namespace
echo "cockpit-desktop: attempting to start cockpit-bridge locally"

if ! command -v cockpit-bridge >/dev/null 2>&1; then
echo "cockpit-desktop: error: cockpit-bridge was not found."
echo "cockpit-desktop: please install the cockpit package or ensure cockpit-bridge is in your PATH."
fi

coproc ${2:+ssh "$2"} cockpit-bridge
trap "kill $COPROC_PID; wait $COPROC_PID || true" EXIT INT QUIT PIPE

Expand Down