Update clang-format-all.sh

This commit is contained in:
Mr.nope 2021-08-03 23:28:28 +04:30 committed by GitHub
commit 1931d3b601
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,12 @@
#!/bin/bash #!/usr/bin/bash
if [[ "$(id -u)" -ne 0 ]];
then
echo "
Please, Run This Programm as Root!
"
exit 1
fi
function usage { function usage {
echo "Usage: $0 DIR..." echo "Usage: $0 DIR..."
exit 1 exit 1