mirror of
https://github.com/owncloud/ocis
synced 2026-04-26 01:35:25 +02:00
pass config context when running apps
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
@@ -30,5 +30,5 @@ func Execute(cfg *config.Config) error {
|
||||
Commands: GetCommands(cfg),
|
||||
})
|
||||
|
||||
return app.Run(os.Args)
|
||||
return app.RunContext(cfg.Context, os.Args)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user