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") execArgs = append(execArgs, "--beta")
} }
execCmd := exec.Command("bash", execArgs...) execCmd := exec.Command("bash", execArgs...)
execCmd.Stdin = os.Stdin
execCmd.Stdout = os.Stdout execCmd.Stdout = os.Stdout
execCmd.Stderr = os.Stderr execCmd.Stderr = os.Stderr
err = execCmd.Run() 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) fmt.Printf("\nChoose a short name for this device (default: '%s'): ", hostStub)
input, err := reader.ReadString('\n') input, err := reader.ReadString('\n')
name := strings.TrimRight(input, "\n") name := strings.TrimRight(input, "\n")
if err != nil { if err != nil && err.Error() != "EOF" {
return "", fmt.Errorf("reader error: %w", err) return "", fmt.Errorf("reader error: %w", err)
} }
if name == "" { if name == "" {

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

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

Loading…
Cancel
Save