-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
Description
more from util-linux shows a message, if a file is not readable:
$ touch example
$ chmod 244 example
$ more example
more: cannot open example: Permission denied
uutils more, on the other hand, panics:
$ touch example
$ chmod 244 example
$ cargo run more example
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 13, kind: PermissionDenied, message: "Permission denied" }', /home/dho/projects/coreutils/src/uu/more/src/more.rs:107:62
Reactions are currently unavailable