mirror of
https://github.com/safedep/pmg.git
synced 2026-08-03 07:24:09 +02:00
fix: Race condition in concurrent analyzer
This commit is contained in:
@@ -72,5 +72,10 @@ func (f *commonFlow) Run(ctx context.Context, args []string) error {
|
||||
ui.Fatalf("Failed to create package manager guard: %s", err)
|
||||
}
|
||||
|
||||
return proxy.Run(ctx, args)
|
||||
err = proxy.Run(ctx, args)
|
||||
if err != nil {
|
||||
ui.Fatalf("pmg: failed to execute command: %s", err)
|
||||
}
|
||||
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user