mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-26 09:58:31 +01:00
Removed unused code
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
365c6e653e
commit
0ae9e096e0
1 changed files with 0 additions and 1 deletions
|
@ -793,7 +793,6 @@ def main() -> None:
|
||||||
|
|
||||||
if not os.geteuid() == 0:
|
if not os.geteuid() == 0:
|
||||||
error.raise_error_message(message='Must run as root.', exit_status=1)
|
error.raise_error_message(message='Must run as root.', exit_status=1)
|
||||||
raise SystemExit('')
|
|
||||||
|
|
||||||
# Configure logging
|
# Configure logging
|
||||||
if Configs.error_log_file.is_file():
|
if Configs.error_log_file.is_file():
|
||||||
|
|
Loading…
Reference in a new issue