IOTstack
IOTstack copied to clipboard
Correctly check current directory and try changing to ~/IOTstack
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.