HCoop
/
hcoop
/
domtool2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
5817600
)
Report when users' ~/.domtool directories are unreadable
author
Adam Chlipala
<adamc@hcoop.net>
Tue, 1 Jan 2008 22:27:58 +0000
(22:27 +0000)
committer
Adam Chlipala
<adamc@hcoop.net>
Tue, 1 Jan 2008 22:27:58 +0000
(22:27 +0000)
src/main.sml
patch
|
blob
|
blame
|
history
diff --git
a/src/main.sml
b/src/main.sml
index
9bc87cd
..
eaee4fc
100644
(file)
--- a/
src/main.sml
+++ b/
src/main.sml
@@
-1026,8
+1026,11
@@
fun regenerateEither tc checker context =
();
app checker files
end
+ else if String.isSuffix "_admin" user then
+ ()
else
- ()
+ (print ("Couldn't access " ^ user ^ "'s ~/.domtool directory.\n");
+ ok := false)
end
handle IO.Io {name, function, ...} =>
(print ("IO error processing user " ^ user ^ ": " ^ function ^ ": " ^ name ^ "\n");