end-of-options

This commit is contained in:
Patrick Schleizer 2025-11-10 02:09:00 -05:00
parent e9e6c12b03
commit 71ca68bd4a
No known key found for this signature in database
GPG key ID: CB8D50BB77BB3C48

View file

@ -20,7 +20,7 @@ if [ -z "$sock_pid" ]; then
printf '%s\n' "INFO: Cannot get PID listening on '$vboxdrmclient_sock', ok."
exit 0
fi
if kill -SIGKILL "$sock_pid"; then
if kill -SIGKILL -- "$sock_pid"; then
printf '%s\n' "INFO: Killed VBoxDRMClient ('$sock_pid'), ok."
exit 0
fi