summaryrefslogtreecommitdiff
path: root/mbld/install.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-05-16 01:24:34 -0700
committerOri Bernstein <ori@eigenstate.org>2015-05-16 01:24:34 -0700
commit9fa7e376e33410e78fda13897bf8e0914f201ddf (patch)
treec3e1e6f004c5ee96712770153a6a267592ecf223 /mbld/install.myr
parent99bd0e314a7050f7ac4ae2c33207be08aa5c4507 (diff)
downloadmc-9fa7e376e33410e78fda13897bf8e0914f201ddf.tar.gz
Remove status arg from fatal.
We never set it to anything other than '1' anyways. There's no standardized error codes, so the exit status isn't really useful in any case.
Diffstat (limited to 'mbld/install.myr')
-rw-r--r--mbld/install.myr6
1 files changed, 3 insertions, 3 deletions
diff --git a/mbld/install.myr b/mbld/install.myr
index 0cf6d1f..8d6fbeb 100644
--- a/mbld/install.myr
+++ b/mbld/install.myr
@@ -68,7 +68,7 @@ const movefile = {b, rm, dir, file, prefix, perm
std.put("\t%s => %s\n", file, path)
std.remove(path)
match std.slurp(file)
- | `std.Fail m: std.fatal(1, "Could not open %s for reading\n", file)
+ | `std.Fail m: std.fatal("Could not open %s for reading\n", file)
| `std.Ok buf:
if !std.blat(path, buf, perm)
std.put("Could not write %s\n", file)
@@ -84,11 +84,11 @@ const moveman = {b, rm, dir, man
match std.strrfind(man, ".")
| `std.None:
- std.fatal(1, "manpage %s has no section\n", man)
+ std.fatal("manpage %s has no section\n", man)
| `std.Some s:
sect = s + 1
if s + 1 == man.len
- std.fatal(1, "manpage %s missing suffix\n", man)
+ std.fatal("manpage %s missing suffix\n", man)
;;
;;