diff options
-rw-r--r-- | lib/network/connection/cellular_card.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/network/connection/cellular_card.pm b/lib/network/connection/cellular_card.pm index b6a889c..bf14ccb 100644 --- a/lib/network/connection/cellular_card.pm +++ b/lib/network/connection/cellular_card.pm @@ -173,7 +173,7 @@ sub check_device { sub check_hardware { my ($self) = @_; - 0; + to_bool(run_program::rooted($::prefix, 'comgt', '>', '/dev/null', '-d', $self->get_control_device, 'PIN')); } sub configure_hardware { |