small fixes

This commit is contained in:
Denis Lehmann 2022-01-07 07:09:29 +01:00
parent b8ddf7a804
commit d2bffd6576

2
sf
View file

@ -32,7 +32,7 @@ function _sferr {
# Public output functions
function sferr {
echo -e "${sftbf}${sftred}ERROR${sftrst} $1"
if [ -z "$1" ]; then
if [ -z "$2" ]; then
exit 1
fi
}