From befcda1cdd0cddc72b4c844184da0784f83261a1 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Sun, 3 Sep 2017 00:47:08 +0530 Subject: Add troubleshooting tip. * README.org: Add troubleshooting tip about -x flag. --- README.org | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.org b/README.org index 72a0553..70490d6 100644 --- a/README.org +++ b/README.org @@ -13,6 +13,18 @@ I run this bot in my GNU Social instance at [[https://social.systemreboot.net/apod][https://social.systemreboot.net/apod]]. Feel free to subscribe, or run the bot on your own in your GNU Social instance. +* Troubleshooting tip + +If you're having difficulty getting the script to work, it might help +to add /-x/ to the shebang, like this: + +#+BEGIN_SRC bash + #! /usr/bin/bash -xefu +#+END_SRC + +This makes bash print out the commands it is executing, and might help +you figure out what's going wrong. + * License The source code is in the public domain. -- cgit v1.2.3