mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-21 16:33:08 +01:00
Use print_err function
This commit is contained in:
@@ -350,7 +350,7 @@ def main():
|
|||||||
signal.signal(signal.SIGINT, sigint_handler)
|
signal.signal(signal.SIGINT, sigint_handler)
|
||||||
|
|
||||||
if os.geteuid() != 0:
|
if os.geteuid() != 0:
|
||||||
print('You must run this script as root', file=sys.stderr)
|
print_err('You must run this script as root')
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
apply_help='After updating rule configuration, apply the idstools state.'
|
apply_help='After updating rule configuration, apply the idstools state.'
|
||||||
|
|||||||
Reference in New Issue
Block a user