make it actually work
This commit is contained in:
parent
f6b19522c6
commit
25f2b0fc35
|
@ -24,6 +24,10 @@ func QuestionUser(msg string) bool {
|
||||||
case "n":
|
case "n":
|
||||||
return false
|
return false
|
||||||
default:
|
default:
|
||||||
|
if strings.HasPrefix(line, "y") {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
return false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return false
|
return false
|
||||||
|
|
Loading…
Reference in New Issue