summaryrefslogtreecommitdiff
path: root/swaylock.1.scd
diff options
context:
space:
mode:
authorMartin Trojer <martin.trojer@gmail.com>2026-10-29 08:35:02 +0000
committerSimon Ser <contact@emersion.fr>2026-10-29 09:38:09 +0100
commit701a352e7eb03f5daf4252ea0a0f7aa437819b71 (patch)
tree185c5fd20cbe7f608d2cb2af1887bdf19cfe5108 /swaylock.1.scd
parent6ad9ebf3e14deac54a298c10df3e8701061fe495 (diff)
main: don't abort when an image path expands to no wordsHEADmaster
An expansion can yield no words (e.g. -i '' or an unset variable), which made join_args() assert and swaylock abort before locking. Use an empty path in that case, so loading it fails normally and swaylock carries on and locks, instead of falling back to the unexpanded string. Also free path and output_name on the failed-load return.
Diffstat (limited to 'swaylock.1.scd')
0 files changed, 0 insertions, 0 deletions