Fix warning (readline on unopened filehandle)
This commit is contained in:
parent
6d8dd735fa
commit
c10e185207
|
@ -802,7 +802,7 @@ sub create_snapshot{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
# In any case, failed or not, remove our lock
|
# In any case, failed or not, remove our lock
|
||||||
unlink <$lock>;
|
unlink $lock if (-e $lock);
|
||||||
return $ret;
|
return $ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user