HCoop
/
hcoop
/
domtool2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
cb1fd41
)
Print on start of mysql-fixperms in domtool-server
author
Adam Chlipala
<adamc@hcoop.net>
Mon, 24 Nov 2008 14:08:35 +0000
(14:08 +0000)
committer
Adam Chlipala
<adamc@hcoop.net>
Mon, 24 Nov 2008 14:08:35 +0000
(14:08 +0000)
src/main.sml
patch
|
blob
|
blame
|
history
diff --git
a/src/main.sml
b/src/main.sml
index
4836ed8
..
9b9d296
100644
(file)
--- a/
src/main.sml
+++ b/
src/main.sml
@@
-1555,14
+1555,15
@@
fun service () =
(fn () => ())
| MsgMysqlFixperms =>
(fn () => ())
| MsgMysqlFixperms =>
- doIt (fn () => if OS.Process.isSuccess
- (OS.Process.system "/usr/bin/sudo -H /afs/hcoop.net/common/etc/scripts/mysql-grant-table-drop") then
- ("Requested mysql-fixperms",
- NONE)
+ (print "Starting mysql-fixperms\n";
+ doIt (fn () => if OS.Process.isSuccess
+ (OS.Process.system "/usr/bin/sudo -H /afs/hcoop.net/common/etc/scripts/mysql-grant-table-drop") then
+ ("Requested mysql-fixperms",
+ NONE)
else
("Requested mysql-fixperms, but execution failed!",
SOME "Script execution failed."))
else
("Requested mysql-fixperms, but execution failed!",
SOME "Script execution failed."))
-
(fn () => (
))
+
(fn () => ()
))
| MsgDescribe dom =>
doIt (fn () => if not (Domain.validDomain dom) then
| MsgDescribe dom =>
doIt (fn () => if not (Domain.validDomain dom) then