small fixes
This commit is contained in:
parent
b8ddf7a804
commit
d2bffd6576
1 changed files with 2 additions and 2 deletions
2
sf
2
sf
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue