X-Git-Url: https://git.p6c8.net/selfforum.git/blobdiff_plain/f4e905b815a97cc195eb8b8ab4703d15122ab443..a4d21c439a8b7953427fa2815d5dc41470e3eb59:/selfforum-cgi/shared/Lock.pm?ds=inline diff --git a/selfforum-cgi/shared/Lock.pm b/selfforum-cgi/shared/Lock.pm index f878aea..7290063 100644 --- a/selfforum-cgi/shared/Lock.pm +++ b/selfforum-cgi/shared/Lock.pm @@ -12,7 +12,6 @@ package Lock; use strict; use Carp; - use vars qw( @EXPORT_OK %EXPORT_TAGS @@ -556,6 +555,7 @@ sub masterlockfile ($) { &lockfile(&masterfile($_[0])); } sub masterfile ($) { + confess unless defined $_[0]; "$_[0].master"; } @@ -843,4 +843,4 @@ BEGIN { # # -### end of Lock ################################################################ +### end of Lock ################################################################ \ No newline at end of file