feat: Minor changes

This commit is contained in:
ge
2022-06-07 22:25:15 +03:00
parent 119e339e29
commit f18b9627d5
2 changed files with 3 additions and 3 deletions

View File

@ -92,7 +92,7 @@ err() {
# Run user defined function on_error()
if [ "$onerr" ]; then
if is_function_set on_error; then
echo -e "Run \e[1mon_error()\e[0m ..." | log -p
echo -e "Run \e[1mon_error()\e[0m" | log -p
on_error
fi
fi