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