added debug
This commit is contained in:
parent
1a1ffede6d
commit
9c5989f414
1 changed files with 3 additions and 0 deletions
|
@ -67,11 +67,14 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||||
|
|
||||||
for line in primary_note_lines.iter() {
|
for line in primary_note_lines.iter() {
|
||||||
if line.starts_with("- [x] Send Summary") {
|
if line.starts_with("- [x] Send Summary") {
|
||||||
|
debug!("send summary flag caught");
|
||||||
do_email_summary = true;
|
do_email_summary = true;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if line.starts_with("- [x] Restart Headscale :(") {
|
if line.starts_with("- [x] Restart Headscale :(") {
|
||||||
|
debug!("restart headscale flag caught");
|
||||||
do_headscale_reset = true;
|
do_headscale_reset = true;
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
if line.starts_with("- [ ] Send Summary") {
|
if line.starts_with("- [ ] Send Summary") {
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in a new issue