summaryrefslogtreecommitdiffstats
path: root/bin/drakproxy
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-05-15 16:25:16 +0000
committerThierry Vignaud <tv@mandriva.org>2008-05-15 16:25:16 +0000
commit6e59d0ca9e38eaeb14e238aec720478ea0001185 (patch)
treeca4367a4d18ee722966f12882a0ef14c8fe4c79e /bin/drakproxy
parent3c09fada1fa4c4f959a8802634390588eb5133ab (diff)
downloaddrakx-net-6e59d0ca9e38eaeb14e238aec720478ea0001185.tar
drakx-net-6e59d0ca9e38eaeb14e238aec720478ea0001185.tar.gz
drakx-net-6e59d0ca9e38eaeb14e238aec720478ea0001185.tar.bz2
drakx-net-6e59d0ca9e38eaeb14e238aec720478ea0001185.tar.xz
drakx-net-6e59d0ca9e38eaeb14e238aec720478ea0001185.zip
remove doble question
Diffstat (limited to 'bin/drakproxy')
-rwxr-xr-xbin/drakproxy4
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/drakproxy b/bin/drakproxy
index dade2d7..6c52022 100755
--- a/bin/drakproxy
+++ b/bin/drakproxy
@@ -33,8 +33,6 @@ my $u = { getVarsFromSh('/etc/profile.d/proxy.sh') };
my $in = 'interactive'->vnew('su');
if (network::network::miscellaneous_choose($in, $u)) {
network::network::proxy_configure($u);
- if ($in->ask_okcancel(N("Warning"), N("You need to log out and back in again for changes to take effect"), 1)) {
- any::ask_for_X_restart($in);
- }
+ any::ask_for_X_restart($in);
}
$in->exit(0);