Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
18
Merge Requests
18
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos.core
Commits
7581e55e
Commit
7581e55e
authored
Jun 29, 2013
by
Jondy Zhao
Committed by
Marco Mariani
Aug 15, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not check root by uid in the cygwin when run slapformat
parent
06ebfdb7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
slapos/format.py
slapos/format.py
+3
-1
No files found.
slapos/format.py
View file @
7581e55e
...
...
@@ -1204,7 +1204,9 @@ class FormatConfig(object):
self
.
checkRequiredBinary
([
'brctl'
])
# Check if root is needed
if
(
self
.
alter_network
or
self
.
alter_user
)
and
not
self
.
dry_run
:
if
sys
.
platform
==
'cygwin'
:
root_needed
=
False
elif
(
self
.
alter_network
or
self
.
alter_user
)
and
not
self
.
dry_run
:
root_needed
=
True
else
:
root_needed
=
False
...
...
Write
Preview
Markdown
is supported
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