Fix erroneous dry run message when generating configs

This commit is contained in:
Salt 2019-06-22 02:53:33 -05:00
parent 65fe20c41a
commit 4899b234b4

View File

@ -553,11 +553,11 @@ main() {
;;
esac
done
[ -n "$_dryrun" ] && log "Performing a dry run"
step_check
if [ -n "$_generate" ]; then
step_generate
else
[ -n "$_dryrun" ] && log "Performing a dry run"
step_preexecute
step_execute
step_postexecute