Add Bach Testing Framework and several basic test cases
This commit is contained in:
@@ -382,6 +382,8 @@ function die() {
|
||||
exit 1
|
||||
}
|
||||
|
||||
# __main__
|
||||
|
||||
if ! ufw status 2>/dev/null | grep -Fq "Status: active" ; then
|
||||
die "UFW is disabled or you are not root user."
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user