Since a recent update I keep getting the error “FAILED” when the script tries to change to what I assume is the current branch. I’ve tried to find the error, but keep failing. Any hints of where to look would be greatly appreciated. I’m guessing that it might be that my openhabian.conf is missing a line containg information about the current version
2020-06-21_16:50:52_PDT [openHABian] Checking for root privileges… OK
2020-06-21_16:50:52_PDT [openHABian] Loading configuration file ‘/etc/openhabian.conf’… OK
2020-06-21_16:50:52_PDT [openHABian] openHABian configuration tool version: [stable]v1.5-644(e01719a)
2020-06-21_16:50:53_PDT [openHABian] Checking for changes in origin branch HEAD … OK
2020-06-21_16:52:42_PDT [openHABian] Switching to branch … fatal: empty string is not a valid pathspec. please use . instead if you meant to match all paths
FAILED
And with debug set to maximum:
- echo -n '2020-06-21_17:23:34_PDT [openHABian] Switching to branch … ’
2020-06-21_17:23:34_PDT [openHABian] Switching to branch … + git -C /opt/openhabian checkout --quiet ‘’
fatal: empty string is not a valid pathspec. please use . instead if you meant to match all paths - FAILED=1
- echo FAILED
FAILED return 0
Ira