Fix some errors syncunf nextclud accounts..
This commit is contained in:
@ -114,6 +114,13 @@ fatal(){
|
||||
exit 1
|
||||
}
|
||||
|
||||
trim() {
|
||||
local var="$*"
|
||||
var="${var#"${var%%[![:space:]]*}"}" # remove leading whitespace characters
|
||||
var="${var%"${var##*[![:space:]]}"}" # remove trailing whitespace characters
|
||||
echo -n "$var"
|
||||
}
|
||||
|
||||
blank_line() {
|
||||
echo ""
|
||||
}
|
||||
|
Reference in New Issue
Block a user