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