Skip to content
This repository has been archived by the owner on Jan 14, 2025. It is now read-only.

Fix missing square bracket error in nxm broker #713

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
2 changes: 1 addition & 1 deletion handlers/modorganizer2-nxm-broker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ nexus_game_id=${nexus_game_id%%/*}
instance_link="$HOME/.config/modorganizer2/instances/${nexus_game_id:?}"
instance_dir=$(readlink -f "$instance_link")
if [ ! -d "$instance_dir" ]; then
[ -L "$instance_link"] && rm "$instance_link"
[ -L "$instance_link" ] && rm "$instance_link"

zenity --ok-label=Exit --error --text \
"Could not download file because there is no Mod Organizer 2 instance for '$nexus_game_id'"
Expand Down
Loading