Root access is not necessary anymore for list subcommand
This commit is contained in:
parent
e477ffc673
commit
841f90fb6e
@ -164,7 +164,6 @@ fn main() {
|
||||
let opt = Opt::from_args();
|
||||
|
||||
welcome();
|
||||
check_sudo();
|
||||
|
||||
// All options that don't need the device to be open
|
||||
// Print all keys and exit application
|
||||
@ -176,6 +175,8 @@ fn main() {
|
||||
_ => { /* Do nothing, there are still lots of other options further below */ }
|
||||
}
|
||||
|
||||
check_sudo();
|
||||
|
||||
let mut pedals = pedal_operations::Pedals::new();
|
||||
|
||||
// Make sure that the application does not purge pedals that are not explicitly set
|
||||
|
Loading…
Reference in New Issue
Block a user