Compare commits

...

3 Commits

Author SHA1 Message Date
Šimon Let a6e4c85d31 Installation fixes 3 years ago
Šimon Let 611198e9d5
Merge pull request #195 from Jessime/patch-2 3 years ago
Jessime Kirk b75542c078
typo in troubleshooting.md 3 years ago
  1. 1
      cmd/control/cmd/update.go
  2. 2
      internal/device/device.go
  3. 2
      scripts/install.sh
  4. 2
      troubleshooting.md

@ -23,6 +23,7 @@ var updateCmd = &cobra.Command{
execArgs = append(execArgs, "--beta")
}
execCmd := exec.Command("bash", execArgs...)
execCmd.Stdin = os.Stdin
execCmd.Stdout = os.Stdout
execCmd.Stderr = os.Stderr
err = execCmd.Run()

@ -130,7 +130,7 @@ func promptForName(out *output.Output, fpath string) (string, error) {
fmt.Printf("\nChoose a short name for this device (default: '%s'): ", hostStub)
input, err := reader.ReadString('\n')
name := strings.TrimRight(input, "\n")
if err != nil {
if err != nil && err.Error() != "EOF" {
return "", fmt.Errorf("reader error: %w", err)
}
if name == "" {

@ -88,7 +88,7 @@ if [ -z "${__RESH_VERSION-}" ]; then
# But don't output anything
./scripts/resh-daemon-stop.sh -q ||:
else
./scripts/resh-daemon-stop.sh
./scripts/resh-daemon-stop.sh ||:
fi
echo "Installing ..."

@ -47,7 +47,7 @@ RESH config is read from one of:
Logs can be useful for troubleshooting issues.
Find RESH logs in one of:
- `~/.local/share//resh/log.json`
- `~/.local/share/resh/log.json`
- `$XDG_DATA_HOME/resh/log.json`
### Log verbosity

Loading…
Cancel
Save