Prefix install with a space so it doesn't get logged by hishtory

This commit is contained in:
David Dworken 2022-11-12 17:05:50 -08:00
parent 0268554903
commit 09ea6be493
No known key found for this signature in database

View File

@ -301,7 +301,7 @@ yes | hishtory init `+userSecret)
}
func installHishtory(t *testing.T, tester shellTester, userSecret string) string {
out := tester.RunInteractiveShell(t, `/tmp/client install `+userSecret)
out := tester.RunInteractiveShell(t, ` /tmp/client install `+userSecret)
r := regexp.MustCompile(`Setting secret hishtory key to (.*)`)
matches := r.FindStringSubmatch(out)
if len(matches) != 2 {