remove load undefined function
This commit is contained in:
parent
cd9c2a8b60
commit
463f3e0064
1 changed files with 9 additions and 9 deletions
|
@ -1,14 +1,14 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
#type -t logerror >/dev/null || logerror() {echo blubb; }
|
##type -t logerror >/dev/null || logerror() {echo blubb; }
|
||||||
if type -t logerror > /dev/null| grep -q 'function'; then
|
#if type -t logerror > /dev/null| grep -q 'function'; then
|
||||||
echo there is a logerror function
|
# echo there is a logerror function
|
||||||
else
|
#else
|
||||||
echo there is NO logerror function
|
# echo there is NO logerror function
|
||||||
logerror () {
|
# logerror () {
|
||||||
echo "$1" >&2
|
# echo "$1" >&2
|
||||||
}
|
# }
|
||||||
fi
|
#fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue