summaryrefslogtreecommitdiff
path: root/sysutils/webmin/patches/patch-ab
blob: fe31f86a2416be416a82f937991ce85b14b8f209 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ab,v 1.4 2007/04/21 05:22:57 obache Exp $

--- oschooser.pl.orig	2007-04-09 05:00:00.000000000 +0000
+++ oschooser.pl
@@ -107,6 +107,8 @@ if (!$auto) {
 		}
 	else {
 		# ask for the operating system name ourselves
+		print "Automatic OS detection failed";
+		exit 9; # Be non-interactive under all circumstances.
 		$dashes = "-" x 75;
 		print <<EOF;
 For Webmin to work properly, it needs to know which operating system