ShoppingList/shellScripts/ShoppingListReset.sh

10 lines
128 B
Bash
Raw Permalink Normal View History

2021-02-03 23:20:13 +01:00
#!/bin/bash
java -jar /home/pi/hc_scripts/ShoppingList.jar --action resetList
if [ "$?" -eq "0" ]
then
exit 0
else
exit 1
fi