Close program if cd
fails
This commit is contained in:
parent
386d97b3a5
commit
b8a2bb5728
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ then
|
|||
cat /sys/class/backlight/*/max_brightness > /sys/class/backlight/*/brightness
|
||||
fi
|
||||
|
||||
cd "PortValhalla"
|
||||
cd "/root/PortValhalla" || exit
|
||||
|
||||
git diff -p -R --no-ext-diff --no-color --diff-filter=M \
|
||||
| grep -E "^(diff|(old|new) mode)" --color=never \
|
||||
|
|
Loading…
Reference in a new issue