Skip to content

Simplify borgmatic wrapper: silent passthrough, no warning#241

Merged
modem7 merged 1 commit into
masterfrom
fix/borgmatic-wrapper-silent
Jun 27, 2026
Merged

Simplify borgmatic wrapper: silent passthrough, no warning#241
modem7 merged 1 commit into
masterfrom
fix/borgmatic-wrapper-silent

Conversation

@modem7

@modem7 modem7 commented Jun 27, 2026

Copy link
Copy Markdown
Owner

Summary

The warning added in #240 turns out to be unnecessary. Users calling borgmatic directly are now transparently routed through the wrapper to borgmatic.bin — no behaviour change from their perspective.

The cron detection warning in svc-cron/run already covers the important case (someone putting borgmatic directly in their cron schedule instead of borgmatic-start).

Changes:

  • borgmatic wrapper: remove warning, silent exec borgmatic.bin "$@" only
  • borgmatic-start: revert BORGMATIC_VIA_START=1 prefix (no longer needed)
  • svc-cron/run: revert borgmatic.bin --version back to borgmatic --version

Test plan

  • CI passes
  • docker exec Borgmatic borgmatic --version works silently with no warning
  • docker exec Borgmatic borgmatic-start --version works as before

The warning was unnecessary — users calling 'borgmatic' directly are
transparently routed through the wrapper to borgmatic.bin with no
behaviour change. The cron detection warning in svc-cron/run already
handles the case where someone puts 'borgmatic' directly in their cron
schedule instead of 'borgmatic-start'.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@modem7 modem7 merged commit 819a0c4 into master Jun 27, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant