Commit ddb57bfb authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(dotask): Two syntax errors fixed.

(cfgwarn): Syntax error fixed.
parent 3f3637ae
......@@ -84,7 +84,7 @@ logwarn () {
log "WARN $1"
}
dotask() {
dotask () {
important="$1"
task="$2"
warnfunc="$3"
......@@ -96,7 +96,7 @@ dotask() {
if sh -c "$cmd" > r/${task}log.txt 2>&1
then
touch r/$task.pass
if [ -z "$warnfunc ]
if [ -z "$warnfunc" ]
then
logpass
else
......@@ -129,7 +129,7 @@ cfgwarn () {
rm r/cfgwarn.txt
logpass
fi
fi
}
makewarn () {
egrep -i 'warning|\(w\)' r/makelog.txt \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment