mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 18:22:47 +01:00
SO Setup - Fix got_root function
This commit is contained in:
@@ -258,7 +258,7 @@ get_main_ip() {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}got_root() {
|
got_root() {
|
||||||
|
|
||||||
# Make sure you are root
|
# Make sure you are root
|
||||||
if [ "$(id -u)" -ne 0 ]; then
|
if [ "$(id -u)" -ne 0 ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user