Skip to content
GitLab
Menu
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-devel
Commits
5aff2d89
Commit
5aff2d89
authored
Jun 30, 2014
by
Mike Hibler
Browse files
But make sure we are performing an update before we go willy-nilly removing .sha1s.
parent
aae99cec
Changes
1
Show whitespace changes
Inline
Side-by-side
utils/imagevalidate.in
View file @
5aff2d89
...
...
@@ -277,7 +277,7 @@ sub doimage($)
if
(
!
-
r
"
$path
")
{
print
STDERR
"
$pidimage
: path: image path '
$path
' cannot be read
\n
";
# if root and cannot read it, it doesn't exist so get rid of .sha1 file too
if
(
$UID
==
0
)
{
if
(
$UID
==
0
&&
(
$update
||
$fixit
)
)
{
removehashfile
(
$path
);
}
return
1
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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