New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Auto-Backup fails if one of the files is missing #391
Labels
bug
Something isn't working
Comments
Well, the plugin just executes the commands its given. We should change the default files to files which are 100% there. Api report is only there if the grid plugin is enabled.. |
This was referenced Oct 25, 2019
thx for the info. I created a PR which adds a simple check, if the file exists. I think this is a clear solution. |
evilsocket
added a commit
that referenced
this issue
Oct 25, 2019
#391: Verify if the configured files exist
OnnoBuijsman
pushed a commit
to OnnoBuijsman/pwnagotchi
that referenced
this issue
Oct 25, 2019
OnnoBuijsman
pushed a commit
to OnnoBuijsman/pwnagotchi
that referenced
this issue
Oct 25, 2019
dadav
pushed a commit
to dadav/pwnagotchi
that referenced
this issue
Apr 1, 2020
dadav
pushed a commit
to dadav/pwnagotchi
that referenced
this issue
Apr 1, 2020
evilsocket#391: Verify if the configured files exist
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I'm not sure, how this situation came up but I don't have a
.api-report.json
file in/root
and the auto-backup plugin therefor fails.Probably it should check for each file first and only backup those files, that exist?
Other question: What should the
api-report.json
contain?To Reproduce
/root/.api-report.json
Expected behavior
Only existing files are backuped
Environment (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: