diff options
author | joerg <joerg> | 2006-06-04 14:08:36 +0000 |
---|---|---|
committer | joerg <joerg> | 2006-06-04 14:08:36 +0000 |
commit | 6a8bb57c9f890b20c46af7363ce383c5efa9a298 (patch) | |
tree | f7010a81fee714b188919de92a27e16595fc48e9 /sysutils/webmin/patches | |
parent | 41a3a5f6cffc472df97c58f85ecdaddd8f6b8f75 (diff) | |
download | pkgsrc-6a8bb57c9f890b20c46af7363ce383c5efa9a298.tar.gz |
Don't go interactive when the OS can't be detected.
Diffstat (limited to 'sysutils/webmin/patches')
-rw-r--r-- | sysutils/webmin/patches/patch-ab | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sysutils/webmin/patches/patch-ab b/sysutils/webmin/patches/patch-ab new file mode 100644 index 00000000000..8cb9400b89e --- /dev/null +++ b/sysutils/webmin/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.3 2006/06/04 14:08:36 joerg Exp $ + +--- oschooser.pl.orig 2006-06-04 14:02:49.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 |