From 716803a7c7a288af22fa66546e405999a63455ca Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Wed, 8 Aug 2007 15:27:03 +0000 Subject: use exit instead of return as we're not in a subroutine --- bin/draknfs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') 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; -- cgit v1.2.1