This commit is contained in:
Michael Schurter 2014-09-25 16:35:29 -07:00
parent 0aa1f95752
commit f2a574f743
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ func line(prompt string) (string, error) {
defer C.free(unsafe.Pointer(resultCString)) defer C.free(unsafe.Pointer(resultCString))
if resultCString == nil { if resultCString == nil {
return "", errors.New("quited by a signal") return "", errors.New("exiting due to signal")
} }
result := C.GoString(resultCString) result := C.GoString(resultCString)