serve ftp: disable on plan9 since it doesn't compile

This commit is contained in:
Nick Craig-Wood 2018-09-13 18:21:20 +01:00
parent 4a3efa5d45
commit d4ee7277c0
4 changed files with 19 additions and 2 deletions

View file

@ -15,7 +15,9 @@ func init() {
Command.AddCommand(http.Command)
Command.AddCommand(webdav.Command)
Command.AddCommand(restic.Command)
Command.AddCommand(ftp.Command)
if ftp.Command != nil {
Command.AddCommand(ftp.Command)
}
cmd.Root.AddCommand(Command)
}