From e7dc97e51e3c0a682aa6e6d227021ef8ecd37d3b Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Wed, 8 Aug 2007 15:37:18 +0000 Subject: use exit instead of return as we're not in a subroutine (fix bug #32374) --- bin/draksambashare | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/draksambashare b/bin/draksambashare index 8dc8818..418b552 100755 --- a/bin/draksambashare +++ b/bin/draksambashare @@ -38,7 +38,7 @@ use Libconf::Templates; use Libconf::Glueconf::Samba::Smb_conf; my $in = 'interactive'->vnew('su'); -$in->do_pkgs->ensure_is_installed('samba-server', '/usr/sbin/smbd') or return; +$in->do_pkgs->ensure_is_installed('samba-server', '/usr/sbin/smbd') or exit(1); #if (!-f "/etc/sysconfig/wizard_samba") { # $in->do_pkgs->ensure_is_installed('drakwizard', '/usr/sbin/drakwizard'); -- cgit v1.2.1