Skip to content

Conversation

@tpwrules
Copy link
Contributor

@tpwrules tpwrules commented Nov 3, 2025

On some systems (e.g. NixOS) it's not there.

On some systems (e.g. NixOS) it's not there.
Copy link
Contributor

@peterbarker peterbarker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

"""Run one step."""
# remove old logs
util.run_cmd('/bin/rm -f logs/*.BIN logs/LASTLOG.TXT')
util.run_cmd('rm -f logs/*.BIN logs/LASTLOG.TXT')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't we use the python rm instead ? that would improve compatibility and safety ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, probably. I will definitely review any PR which bring that in - but in the meantime this unbreaks this for Thomas, so I do intend to merge.

@tpwrules tpwrules merged commit b876809 into ArduPilot:master Nov 3, 2025
107 of 110 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants