IOTstack icon indicating copy to clipboard operation
IOTstack copied to clipboard

Correctly check current directory and try changing to ~/IOTstack

Open senarvi opened this issue 5 years ago • 0 comments

backup.sh tried to check whether it's run from the IOTstack directory, but used -d (directory exists operator). This small pull request changes it to ! -f (file does not exist) and also tries changing the current directory to ~/IOTstack if it doesn't exist.

senarvi avatar Apr 08 '21 04:04 senarvi