fixed pre post capabilities

This commit is contained in:
2021-11-19 00:18:16 +01:00
parent b71a0c2ee8
commit c71b22f326
2 changed files with 13 additions and 13 deletions

View File

@@ -21,7 +21,7 @@ export -f stdtime
# ------------------------------------------------------------------------------
# Check if a function exists, return 0 if so
function_exists() {
declare -f -F $1 > /dev/null
declare -f -F $1 2>&1 /dev/null
return $?
}
export -f function_exists