Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Illyse
Flash Openwrt Mikrotik Rb952ui 5ac2nD
Commits
2cff2102
Commit
2cff2102
authored
Dec 26, 2020
by
Félix Sipma
Browse files
suppression d'un test redondant (et non-fonctionnel)
parent
ba75d507
Changes
1
Hide whitespace changes
Inline
Side-by-side
flash_openwrt_mikrotik_rb952ui-5ac2nD.py
View file @
2cff2102
...
...
@@ -43,7 +43,7 @@ if not shutil.which("sudo"): sys.exit(RED + "Installer sudo et relancer le scrip
print
(
BLUE
+
"Teste si sudo est fonctionnel"
+
NC
)
try
:
subprocess
.
call
([
'sudo'
,
'echo'
,
'-n'
,
BLUE
+
'sudo OK'
+
NC
])
or
sys
.
exit
(
RED
+
"Configurer sudo et relancer le script"
+
NC
)
subprocess
.
call
([
'sudo'
,
'echo'
,
'-n'
,
BLUE
+
'sudo OK'
+
NC
])
except
:
sys
.
exit
(
RED
+
"Configurer sudo et relancer le script"
+
NC
)
...
...
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