cupcakearmy / autorestic

Config driven, easy backup cli for restic.
https://autorestic.vercel.app/
Apache License 2.0
1.16k stars 68 forks source link

fix(unlock cmd): ignore process if its the current id #360

Closed rwxd closed 3 months ago

rwxd commented 3 months ago

Hi, as @bin101 wrote in #329 there is a warning when using autorestic unlock because of the current running process which also has autorestic in its name. Maybe I only tested it with go run....

This fix adds: Ignoring the current process id, to avoid prompting that the current process is running.

vercel[bot] commented 3 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
autorestic ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 12, 2024 5:55pm
cupcakearmy commented 3 months ago

Funny business, thanks for fixing!