mirror of
https://github.com/ddworken/hishtory.git
synced 2024-11-23 00:34:27 +01:00
Prefix install with a space so it doesn't get logged by hishtory
This commit is contained in:
parent
0268554903
commit
09ea6be493
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user