summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Vigier <nvigier@mandriva.com>2007-08-08 15:27:03 +0000
committerNicolas Vigier <nvigier@mandriva.com>2007-08-08 15:27:03 +0000
commit716803a7c7a288af22fa66546e405999a63455ca (patch)
tree9f04a91cd165701d63c05b9132e9049633cce801
parent9c57080799fd72c8e56311d33325572d05a389fb (diff)
downloaddrakx-net-716803a7c7a288af22fa66546e405999a63455ca.tar
drakx-net-716803a7c7a288af22fa66546e405999a63455ca.tar.gz
drakx-net-716803a7c7a288af22fa66546e405999a63455ca.tar.bz2
drakx-net-716803a7c7a288af22fa66546e405999a63455ca.tar.xz
drakx-net-716803a7c7a288af22fa66546e405999a63455ca.zip
use exit instead of return as we're not in a subroutine
-rw-r--r--bin/draknfs2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/draknfs b/bin/draknfs
index e92ce81..7fe7198 100644
--- a/bin/draknfs
+++ b/bin/draknfs
@@ -28,7 +28,7 @@ use mygtk2 qw(gtknew gtkset);
use ugtk2 qw(:ask :wrappers :create :dialogs);
my $in = 'interactive'->vnew('su');
-$in->do_pkgs->ensure_is_installed('nfs-utils', '/etc/rc.d/init.d/nfs-server') or return;
+$in->do_pkgs->ensure_is_installed('nfs-utils', '/etc/rc.d/init.d/nfs-server') or exit(1);
use constant COLUMN_DIR => 0;
use constant COLUMN_ACCESS => 1;