X-Git-Url: https://git.hcoop.net/hcoop/domtool2.git/blobdiff_plain/65825353f7f92a1a524c8d887eda2b72dc5019a6..800b3e1ec94890c0b7ef79baa89e902d428fa45b:/src/main-admin.sml diff --git a/src/main-admin.sml b/src/main-admin.sml index 1a9ceac..0e404c6 100644 --- a/src/main-admin.sml +++ b/src/main-admin.sml @@ -55,11 +55,12 @@ val _ = | ["tpe", node, uname] => OS.Process.exit (Main.requestTrustedPath {node = node, uname = uname}) | ["sockperm", node, uname] => OS.Process.exit (Main.requestSocketPerm {node = node, uname = uname}) | ["firewall", node, uname] => OS.Process.exit (Main.requestFirewall {node = node, uname = uname}) - | ["describe", dom] => print (Domain.describe dom) + | ["describe", dom] => Main.requestDescribe dom | ["users"] => (Acl.read Config.aclFile; app (fn s => (print s; print "\n")) (Acl.users ())) | _ => (print "Invalid command-line arguments\n"; - print "See the documentation: http://wiki.hcoop.net/wiki/DomTool/AdminProcedures\n")) - handle OpenSSL.OpenSSL s => print ("OpenSSL exception: " ^ s ^ "\n") + print "See the documentation: http://wiki2.hcoop.net/DomTool/AdminProcedures\n")) + handle OpenSSL.OpenSSL s => (print ("OpenSSL exception: " ^ s ^ "\n"); + OS.Process.exit OS.Process.failure)