removed [[ TEST ]] && action form for if [[ TEST ]]; then action; fi for compatibility
This commit is contained in:
@@ -14,10 +14,10 @@
|
||||
# Syntax exec_serv svcname command
|
||||
exec_serv()
|
||||
{
|
||||
[[ $# -lt 2 ]] && (
|
||||
if [[ $# -lt 2 ]]; then
|
||||
prnt E "exec_serv(): Erreur de syntaxe !"
|
||||
exit 11
|
||||
)
|
||||
fi
|
||||
|
||||
local svcname=$1 command=$2
|
||||
shift 2
|
||||
|
||||
Reference in New Issue
Block a user