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

run-config.sh: Changed error messages and script name in comments

parent e6701fb5
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,7 @@
cat > run.sh << 'EOF'
#!/bin/bash
# Run.sh
# run.sh
# Copyright (C) 2004-2009 Centro de Computacao Cientifica e Software Livre
# Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
......@@ -78,7 +78,7 @@ fi
# Execution
if test $# -ne 1; then
echo "Run.sh call: wrong number of parameters ($#)." >> ${log}
echo "ERROR: run.sh call: wrong number of parameters ($#)." >> ${log}
exit 101
elif [[ $1 == "--inventory" ]]; then
${bindir}/client $1 ${url} ${inep} ${proxy} ${interface} >> ${log}
......@@ -90,7 +90,7 @@ elif [[ $1 == "--update" ]]; then
fi
exit $retval
else
echo "Run.sh call: wrong parameter (\"$1\")." >> ${log}
echo "ERROR: run.sh call: wrong parameter (\"$1\")." >> ${log}
exit 102
fi
EOF
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment