mirror of
https://github.com/NaomiAmethyst/dots.git
synced 2025-04-13 09:30:06 +00:00
small cleanup for err
This commit is contained in:
parent
d1caf979a0
commit
689cd43612
1 changed files with 1 additions and 5 deletions
|
@ -24,11 +24,7 @@ err ()
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${errno}" ] ; then
|
if [ "${errno}" ] ; then
|
||||||
errstr="$@ = $errno"
|
echo "$@ = $errno"
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "${errstr}" ] ; then
|
|
||||||
echo $errstr
|
|
||||||
else
|
else
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue