No need to redirect the standard output from "sh -n"
This commit is contained in:
parent
65bbbf366f
commit
8fd1b92a2c
@ -73,6 +73,6 @@ target="$1"
|
||||
ret=0
|
||||
> "$target"
|
||||
for i in $($FIND "../doc" "../src" "../tests" "../tools" -name '*.sh'); do
|
||||
$DEBUG $SHLINT "$i" > "$DEVNULL" 2>> "$target" || ret=2
|
||||
$DEBUG $SHLINT "$i" 2>> "$target" || ret=2
|
||||
done
|
||||
exit $ret
|
||||
|
Loading…
Reference in New Issue
Block a user