The only caller that actually wants to wait for the lock.
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
pid_file = g_strdup(RUNSTATEDIR "/leaseshelper.pid");
/* Try to claim the pidfile, exiting if we can't */
- if ((pid_file_fd = virPidFileAcquirePath(pid_file, true, getpid())) < 0) {
+ if ((pid_file_fd = virPidFileAcquirePathFull(pid_file, true, getpid())) < 0) {
fprintf(stderr,
_("Unable to acquire PID file: %s\n errno=%d"),
pid_file, errno);