Commit 0a5558d4 authored by Karl Kornel's avatar Karl Kornel
Browse files

Return the lock handle from lock_get

parent c2348e93
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -145,7 +145,7 @@ EOL
	truncate($lock_handle, 0);
	print $lock_handle "$$\n";
	dolog("Lock file $lock_path locked.\n");
	return 1;
	return $lock_handle;
}

# lock_release: Release our lock.