Improved error handling

This commit is contained in:
Balthasar Reuter
2015-07-01 00:19:52 +02:00
parent 928ba63bd1
commit fa877a60bc
4 changed files with 23 additions and 12 deletions

View File

@@ -4,5 +4,7 @@ PHOTOBOOTH_DIR=/home/pi/photobooth
cd "${PHOTOBOOTH_DIR}"
sudo ./photobooth.py 2>&1 > photobooth.log
sudo ./photobooth.py > photobooth.log 2> photobooth.err
cd -