Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
bareos-config-lib.sh: remove logging of useless information
  • Loading branch information
pstorz committed Jan 24, 2020
1 parent 0f6f9d3 commit 1f62685
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions core/scripts/bareos-config-lib.sh.in
Expand Up @@ -695,12 +695,12 @@ get_database_param()
echo "" >> $temp_log

# if default value is given, return it anyway
if [ -n "$DEFAULT" ]; then
info "unable to get \"${PARAM}\" from config, using default value \"${DEFAULT}\". Check $temp_log"
echo "$DEFAULT"
else
info "unable to get \"${PARAM}\" from config, this is usually not an error. Check $temp_log"
fi
#if [ -n "$DEFAULT" ]; then
# info "unable to get \"${PARAM}\" from config, using default value \"${DEFAULT}\". Check $temp_log"
# echo "$DEFAULT"
#else
# info "unable to get \"${PARAM}\" from config, this is usually not an error. Check $temp_log"
#fi


return 1
Expand Down

0 comments on commit 1f62685

Please sign in to comment.