-
Committer:
Daniel Wagner
-
Author(s):
Jussi Laakkonen
-
Date:
2021-09-13 06:36:29 UTC
-
Revision ID:
git-v1:35f3e6611555f5f14eac912de50fc1c7f5ff0e98
vpn: Report EALREADY back to caller if VPN is already disconnecting
Instead of reporting EINVAL report EALREADY to return correct
information back to the caller. This way caller knows that the call was
not to a wrong identifier but the VPN has already been requested to
shut down. The error eventually translates to InProgress D-Bus message
back to the caller.