diff options
author | Kenny Levinsen <kl@kl.wtf> | 2021-09-12 11:44:07 +0200 |
---|---|---|
committer | Kenny Levinsen <kl@kl.wtf> | 2021-09-12 12:06:05 +0200 |
commit | 483dbf76faf9f23117454aa8fc6d22abee3edc89 (patch) | |
tree | 2fbe7a40be0dedc27b5876e332191cf92bb08322 /libseat | |
parent | d5c1a7811bf76abf22045f8f2f5c24fc0d1f6747 (diff) |
seatd-launch: Use optind to find the command
The command indexing had not been updated afer the introduction of
getopt, so combining a command with flags would fail.
Add error handling for if no command was specified while we're at it.
Diffstat (limited to 'libseat')
0 files changed, 0 insertions, 0 deletions