diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-09-05 14:55:00 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-09-05 14:55:00 +0000 |
commit | a9ce2d75d0ca1f3f6a9cc80bbdbc99364e1382a4 (patch) | |
tree | 701931b0341b9abf8935ee2eba32b898d4a74e79 | |
parent | 967a2fd032f608e63500a2cadea8f15737723538 (diff) | |
download | control-center-a9ce2d75d0ca1f3f6a9cc80bbdbc99364e1382a4.tar control-center-a9ce2d75d0ca1f3f6a9cc80bbdbc99364e1382a4.tar.gz control-center-a9ce2d75d0ca1f3f6a9cc80bbdbc99364e1382a4.tar.bz2 control-center-a9ce2d75d0ca1f3f6a9cc80bbdbc99364e1382a4.tar.xz control-center-a9ce2d75d0ca1f3f6a9cc80bbdbc99364e1382a4.zip |
enable to run as a user if using --testing option
-rwxr-xr-x | control-center | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/control-center b/control-center index f6a67441..8b192414 100755 --- a/control-center +++ b/control-center @@ -51,7 +51,7 @@ my $root_size = join('x', gtkroot()->get_size()); my ($default_width, $default_heigth) = member($root_size, '640x480', '800x600') ? (720, 523) : (800, 600); -require_root_capability(); # just to get root capabilities +require_root_capability() if !$::testing; # just to get root capabilities #------------------------------------------------------------- |