Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-stable
Commits
4e3f8174
Commit
4e3f8174
authored
Dec 07, 2014
by
Mike Hibler
Browse files
We need an instance lock and not a global lock here.
parent
c36f6eab
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/nfsmfs_setup.in
View file @
4e3f8174
...
...
@@ -129,9 +129,7 @@ usage()
# We need to serialize this script.
#
if
(
!
$TESTMODE
)
{
if
((
my
$locked
=
TBScriptLock
("
nfsmfs
",
1
))
!=
TBSCRIPTLOCK_OKAY
())
{
exit
(
0
)
if
(
$locked
==
TBSCRIPTLOCK_IGNORE
);
if
((
my
$locked
=
TBScriptLock
("
nfsmfs
"))
!=
TBSCRIPTLOCK_OKAY
())
{
fatal
("
Could not get the lock after a long time!
\n
");
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment