diff --git a/salt/common/tools/sbin/soup b/salt/common/tools/sbin/soup index 4ef0d9185..caea21866 100755 --- a/salt/common/tools/sbin/soup +++ b/salt/common/tools/sbin/soup @@ -704,8 +704,8 @@ thehive_maint() { done if [ "$THEHIVE_CONNECTED" == "yes" ]; then echo "Migrating thehive databases if needed." - curl -v -k -XPOST -L "https://localhost/thehive/api/maintenance/migrate" &>> "$SOUP_LOG" - curl -v -k -XPOST -L "https://localhost/cortex/api/maintenance/migrate" &>> "$SOUP_LOG" + curl -v -k -XPOST -L "https://localhost/thehive/api/maintenance/migrate" >> "$SOUP_LOG" 2>&1 + curl -v -k -XPOST -L "https://localhost/cortex/api/maintenance/migrate" >> "$SOUP_LOG" 2>&1 fi }