This commit is contained in:
Kovid Goyal
2023-02-28 15:26:17 +05:30
parent 1b2fe90ed1
commit 944e036611
5 changed files with 69 additions and 74 deletions

View File

@@ -72,7 +72,10 @@ func RunSSHAskpass() {
break
}
}
data = shm.ReadWithSize(data_shm, 1)
data, err = shm.ReadWithSize(data_shm, 1)
if err != nil {
fatal(fmt.Errorf("Failed to read from SHM file with error: %w", err))
}
response := ""
if is_confirm {
var ok bool