summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-03-31 11:14:48 +0000
committerOlivier Blin <oblin@mandriva.com>2008-03-31 11:14:48 +0000
commit980eb5ad1e1b18d9907d226f4d67796d51ccdb03 (patch)
tree0d48c798762c73d14e9c00a007144f0950fbd7d9 /bin
parent44db417f8bb389b0e35bd3699f17aafde9057627 (diff)
downloaddrakguard-980eb5ad1e1b18d9907d226f4d67796d51ccdb03.tar
drakguard-980eb5ad1e1b18d9907d226f4d67796d51ccdb03.tar.gz
drakguard-980eb5ad1e1b18d9907d226f4d67796d51ccdb03.tar.bz2
drakguard-980eb5ad1e1b18d9907d226f4d67796d51ccdb03.tar.xz
drakguard-980eb5ad1e1b18d9907d226f4d67796d51ccdb03.zip
exit with failure code when packages installation fails
Diffstat (limited to 'bin')
-rwxr-xr-xbin/drakguard2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/drakguard b/bin/drakguard
index 98dc6f7..cfbab4d 100755
--- a/bin/drakguard
+++ b/bin/drakguard
@@ -235,7 +235,7 @@ sub save() {
if ($enable) {
$in->do_pkgs->ensure_are_installed([ qw(shorewall squid dansguardian) ])
- or quit_gui();
+ or quit_gui(1);
$_->{apply}(map { $_->[0] } @{$_->{list}{data}}) foreach @url_lists;
write_dansguardian();