summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/tools.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/tools.pm b/perl-install/network/tools.pm
index 8f479a639..8d625bf26 100644
--- a/perl-install/network/tools.pm
+++ b/perl-install/network/tools.pm
@@ -75,7 +75,7 @@ sub bg_command_as_root {
sub user_run_interface_command {
my ($command, $intf) = @_;
- if (system("usernetctl $intf report") == 0) {
+ if (system("/usr/sbin/usernetctl $intf report") == 0) {
run_program::raw({ detach => 1 }, $command, $intf);
} else {
bg_command_as_root($command, $intf);