-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Milestone
Description
When I try to adopt my server's crontab, tuckr panics.
| maddy@ursula :: ~/.dotfiles/Configs/ursula/^etc (main) ⚡
⋙ RUST_BACKTRACE=1 tuckr add -a ursula
Are you sure you want to adopt conflicts? (N/y) y
thread 'main' panicked at /home/maddy/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tuckr-0.11.2/src/symlinks.rs:643:65:
called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }
stack backtrace:
0: __rustc::rust_begin_unwind
1: core::panicking::panic_fmt
2: core::result::unwrap_failed
3: tuckr::symlinks::add_cmd::{{closure}}::{{closure}}
4: tuckr::symlinks::add_cmd
5: tuckr::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
| maddy@ursula :: ~/.dotfiles/Configs/ursula/^etc (main) ⚡
⋙ ls ⏎
crontab
| maddy@ursula :: ~/.dotfiles/Configs/ursula/^etc (main) ⚡
⋙ ls /etc/crontab
/etc/crontabI may have a mistake somewhere (likely something to do with the file being owned by root), but even then, I'd expect tuckr to handle the error gracefully and give a detailed and helpful error message.
Metadata
Metadata
Assignees
Labels
No labels