aboutsummaryrefslogtreecommitdiff
path: root/src/hidive_command.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/hidive_command.sh')
-rw-r--r--src/hidive_command.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hidive_command.sh b/src/hidive_command.sh
index d3025df..990ddee 100644
--- a/src/hidive_command.sh
+++ b/src/hidive_command.sh
@@ -1,5 +1,5 @@
-if [ -n "${args[search]}" ]; then
- xdg-open https://www.hidive.com/search?q="$(array_to_string "${args[search]}")"
+if [[ -n "${args[search]}" ]]; then
+ xdg-open https://www.hidive.com/search?q="$(array_to_string "${args[search]}" || true)"
else
xdg-open https://www.hidive.com/
fi