fix command
diff --git a/galera/slave.sls b/galera/slave.sls
index 0a109f0..1381d82 100644
--- a/galera/slave.sls
+++ b/galera/slave.sls
@@ -21,7 +21,7 @@
   - require: 
     - pkg: galera_packages
 
-{%- if not salt['cmd.run']('test -e /root/.galera_bootstrap') %}
+{%- if salt['cmd.run']('test -e /root/.galera_bootstrap; echo $?') != '0'  %}
 
 galera_bootstrap_temp_config:
   file.managed: