aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngelo Naselli <angelo.naselli@softeco.it>2014-06-05 15:38:01 +0200
committerAngelo Naselli <angelo.naselli@softeco.it>2014-06-05 15:38:01 +0200
commit26a56d954b259d557c8d6bfeb7227da4a92066ec (patch)
tree2437d6513c87d27678f7120ad76cade8b97bfaf4
parent1f95bfb0707570c7959270fec5977fd685c6f497 (diff)
downloadmanatools-26a56d954b259d557c8d6bfeb7227da4a92066ec.tar
manatools-26a56d954b259d557c8d6bfeb7227da4a92066ec.tar.gz
manatools-26a56d954b259d557c8d6bfeb7227da4a92066ec.tar.bz2
manatools-26a56d954b259d557c8d6bfeb7227da4a92066ec.tar.xz
manatools-26a56d954b259d557c8d6bfeb7227da4a92066ec.zip
hard coded path
-rw-r--r--lib/AdminPanel/Privileges.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/AdminPanel/Privileges.pm b/lib/AdminPanel/Privileges.pm
index 73f20984..d46217d3 100644
--- a/lib/AdminPanel/Privileges.pm
+++ b/lib/AdminPanel/Privileges.pm
@@ -28,9 +28,9 @@ use English qw(-no_match_vars);
our @EXPORT = qw(require_root_capability
ask_for_authentication);
-my $wrappers = { "sudo" => "sudo",
- "pkit" => "pkexec",
- "chlp" => "consolehelper"
+my $wrappers = { "sudo" => "/usr/bin/sudo",
+ "pkit" => "/usr/bin/pkexec",
+ "chlp" => "/usr/bin/consolehelper"
};
my $wrapper = 0;