[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Mldonkey-commits] Changes to mldonkey/src/utils/lib/options.ml4
From: |
mldonkey-commits |
Subject: |
[Mldonkey-commits] Changes to mldonkey/src/utils/lib/options.ml4 |
Date: |
Fri, 26 Aug 2005 17:12:28 -0400 |
Index: mldonkey/src/utils/lib/options.ml4
diff -u mldonkey/src/utils/lib/options.ml4:1.14
mldonkey/src/utils/lib/options.ml4:1.15
--- mldonkey/src/utils/lib/options.ml4:1.14 Tue Jun 28 23:17:08 2005
+++ mldonkey/src/utils/lib/options.ml4 Fri Aug 26 21:12:23 2005
@@ -210,7 +210,7 @@
begin
try Hashtbl.find once_values i with Not_found ->
lprintf "Error in saved file: @%Ld@ not defined\n" i;
- exit 2
+ exit 70
end
| [< 'Kwd "="; v = parse_option >] ->
begin
@@ -253,7 +253,7 @@
Printf.eprintf "An error may have occurred during previous configuration
save.\n";
Printf.eprintf "Please, check your configurations files, and
rename/remove this file\n";
Printf.eprintf "before restarting\n";
- exit 1
+ exit 70
end
else
let ic = open_in filename in
@@ -267,7 +267,7 @@
e ->
Printf.eprintf "Syntax error while parsing file %s at pos
%d:(%s)\n"
filename (Stream.count s) (Printexc2.to_string e);
- exit 2
+ exit 70
in
Hashtbl.clear once_values;
let affect_option o =
@@ -296,7 +296,7 @@
lprintf "\n";
lprintf " in %s\n" filename;
lprintf "Aborting\n.";
- exit 2
+ exit 70
in
(* The options are affected by sections, from the first defined one to
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Mldonkey-commits] Changes to mldonkey/src/utils/lib/options.ml4,
mldonkey-commits <=