6 lines
110 B
Bash
Executable File
6 lines
110 B
Bash
Executable File
#!/bin/bash
|
|
|
|
check_root() {
|
|
[[ "$(id -u)" = 0 ]] || (echo "Root permissions required, exiting" && exit 1)
|
|
}
|