From d1b5a4bce143d06542961b4816b17622c80f55fd Mon Sep 17 00:00:00 2001 From: Jakub Sztandera Date: Wed, 25 May 2016 12:55:27 +0200 Subject: [PATCH] Require diag command to run on daemon License: MIT Signed-off-by: Jakub Sztandera --- cmd/ipfs/ipfs.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/ipfs/ipfs.go b/cmd/ipfs/ipfs.go index f8c32512b6a..f8c903346f4 100644 --- a/cmd/ipfs/ipfs.go +++ b/cmd/ipfs/ipfs.go @@ -105,6 +105,7 @@ var cmdDetailsMap = map[*cmds.Command]cmdDetails{ commands.CommandsDaemonCmd: {doesNotUseRepo: true}, commands.VersionCmd: {doesNotUseConfigAsInput: true, doesNotUseRepo: true}, // must be permitted to run before init commands.LogCmd: {cannotRunOnClient: true}, + commands.ActiveReqsCmd: {cannotRunOnClient: true}, commands.RepoFsckCmd: {cannotRunOnDaemon: true}, commands.ConfigCmd.Subcommand("edit"): {cannotRunOnDaemon: true, doesNotUseRepo: true}, }