🐛 Fixed incorrect fix of actually correct logical operator

This commit is contained in:
TheColorman 2023-06-21 16:35:02 +02:00
parent 73c0872e4f
commit 159a06a59d
No known key found for this signature in database
GPG key ID: A9C799E05AC900AF

View file

@ -540,7 +540,7 @@ function main_menu:upload_catbox()
"whereis", "wl-copy"
}).stdout, "/")
if cb_x11 == nil or cb_wayland == nil then
if cb_x11 == nil and cb_wayland == nil then
notify("Failed to copy URL to clipboard, trying to open in browser instead.\n(Make sure xclip or wl-clipboard is installed)", "warn", 6)
mp.commandv('run', open_utility, r.stdout)
return