apcssh: minor log and logic clarity

This commit is contained in:
Greg T. Wallace 2024-06-19 19:56:16 -04:00
parent f1dd079632
commit 841a459dca
4 changed files with 7 additions and 11 deletions

View file

@ -71,7 +71,7 @@ func (app *app) cmdInstall(cmdCtx context.Context, args []string) error {
// install SSL Cert
err = client.InstallSSLCert(keyP15, certPem, keyCertP15)
if err != nil {
return fmt.Errorf("install: failed to send file to ups over scp (%w)", err)
return fmt.Errorf("install: %w", err)
}
// installed