diff options
author | Nicolas Vigier <nvigier@mandriva.com> | 2007-08-08 15:37:18 +0000 |
---|---|---|
committer | Nicolas Vigier <nvigier@mandriva.com> | 2007-08-08 15:37:18 +0000 |
commit | e7dc97e51e3c0a682aa6e6d227021ef8ecd37d3b (patch) | |
tree | d9e88a8f5ed88e1fa95ba3045f34ecc5e4a02903 /bin/draksambashare | |
parent | 716803a7c7a288af22fa66546e405999a63455ca (diff) | |
download | drakx-net-e7dc97e51e3c0a682aa6e6d227021ef8ecd37d3b.tar drakx-net-e7dc97e51e3c0a682aa6e6d227021ef8ecd37d3b.tar.gz drakx-net-e7dc97e51e3c0a682aa6e6d227021ef8ecd37d3b.tar.bz2 drakx-net-e7dc97e51e3c0a682aa6e6d227021ef8ecd37d3b.tar.xz drakx-net-e7dc97e51e3c0a682aa6e6d227021ef8ecd37d3b.zip |
use exit instead of return as we're not in a subroutine (fix bug #32374)
Diffstat (limited to 'bin/draksambashare')
-rwxr-xr-x | bin/draksambashare | 2 |
1 files changed, 1 insertions, 1 deletions
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'); |