Skip to content
Snippets Groups Projects
Commit e6701fb5 authored by Erik Alexandre Pucci's avatar Erik Alexandre Pucci Committed by Danilo K. S. Yorinori
Browse files

run-config.sh: Added redirection to /dev/null of all cat(1) errors

parent a3c5b1db
No related branches found
No related tags found
No related merge requests found
...@@ -60,7 +60,7 @@ date +"%F %T" >> ${log} ...@@ -60,7 +60,7 @@ date +"%F %T" >> ${log}
source ${dirname}/common.sh source ${dirname}/common.sh
url="--url=http://seed.c3sl.ufpr.br/tomcat/axis/Seed2.jws" url="--url=http://seed.c3sl.ufpr.br/tomcat/axis/Seed2.jws"
inep=$(cat ${dirname}/conf/inep) inep=$(cat ${dirname}/conf/inep 2> /dev/null)
if test ! -f "${dirname}/conf/inep" -o -z "${inep}"; then if test ! -f "${dirname}/conf/inep" -o -z "${inep}"; then
printf "WARNING: inep file not found or empty.\n" >> ${log} printf "WARNING: inep file not found or empty.\n" >> ${log}
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment