diff options
author | Nicolas Vigier <nvigier@mandriva.com> | 2007-08-08 15:27:03 +0000 |
---|---|---|
committer | Nicolas Vigier <nvigier@mandriva.com> | 2007-08-08 15:27:03 +0000 |
commit | 716803a7c7a288af22fa66546e405999a63455ca (patch) | |
tree | 9f04a91cd165701d63c05b9132e9049633cce801 /bin/draknfs | |
parent | 9c57080799fd72c8e56311d33325572d05a389fb (diff) | |
download | drakx-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
Diffstat (limited to 'bin/draknfs')
-rw-r--r-- | bin/draknfs | 2 |
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; |