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
|
||||
|
||||
if [ "${errno}" ] ; then
|
||||
errstr="$@ = $errno"
|
||||
fi
|
||||
|
||||
if [ "${errstr}" ] ; then
|
||||
echo $errstr
|
||||
echo "$@ = $errno"
|
||||
else
|
||||
return 1
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue