ShoppingList/shellScripts/ShoppingListReset.sh

10 lines
128 B
Bash

#!/bin/bash
java -jar /home/pi/hc_scripts/ShoppingList.jar --action resetList
if [ "$?" -eq "0" ]
then
exit 0
else
exit 1
fi