Skip to content

Commit ec7984c

Browse files
authored
Merge pull request #391 from noelmcloughlin/fixes
shutoff debug output from unless
2 parents 3888519 + 2a0f461 commit ec7984c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

salt/formulas.sls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
- require:
5252
- file: {{ basedir }}
5353
{%- if not update %}
54-
- unless: test -e {{ gitdir }} >/dev/null 2>&1
54+
- onlyif: rm -fr {{ gitdir }} >/dev/null 2>&1 | true
5555
{%- endif %}
5656
{% endif %}
5757
{% endfor %}

0 commit comments

Comments
 (0)