mirror of https://github.com/ledisdb/ledisdb.git
fix typo
This commit is contained in:
parent
0aa1f95752
commit
f2a574f743
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue