Skip to content
GitLab
About GitLab
GitLab: the DevOps platform
Explore GitLab
Install GitLab
How GitLab compares
Get started
GitLab docs
GitLab Learn
Pricing
Talk to an expert
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Projects
Groups
Snippets
Sign up now
Login
Sign in
Toggle navigation
Menu
Open sidebar
project
provision
Commits
cc64904f
Commit
cc64904f
authored
Sep 06, 2014
by
Grazyna Jaworska
Browse files
Use is_readable() instead of file_exists() when checking alias existence.
parent
463cc6c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
migrate.hostmaster.inc
View file @
cc64904f
...
...
@@ -36,7 +36,7 @@ We are making the following assumptions:
}
// If the alias file exists, it means we are migrating from a post alpha9 release.
if
(
file_exists
(
$alias_file
))
{
if
(
is_readable
(
$alias_file
))
{
provision_backend_invoke
(
'@server_master'
,
'provision-verify'
);
provision_backend_invoke
(
'@hostmaster'
,
'provision-verify'
);
...
...
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