Add amf_return return code everywhere

This commit is contained in:
maride
2017-09-02 15:07:59 +02:00
parent 3fcf5a6a96
commit 4c4b8b624c
10 changed files with 22 additions and 2 deletions

View File

@@ -5,3 +5,5 @@ echo "~> Grabbing a random image from unsplash.com..."
mkdir -p /mnt/etc/wallpapers/
wget https://unsplash.com/photos/$(curl https://unsplash.com/search/photos/forest | grep -oE "photo=([a-zA-Z0-9_\\-]*)" | shuf -n 1 | sed -e "s/photo=//g")/download -O /mnt/etc/wallpapers/forest.jpg
amf_return=0