aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2017-09-03 00:47:08 +0530
committerArun Isaac2017-09-03 01:26:59 +0530
commitbefcda1cdd0cddc72b4c844184da0784f83261a1 (patch)
tree27eb2851e3f9a0861e30f1de37c99aca89844a49
parent2bbd4c54ef5f96eadeb0285ee1ad8cb60e905be5 (diff)
downloadnasa-apod-gnu-social-bot-befcda1cdd0cddc72b4c844184da0784f83261a1.tar.gz
nasa-apod-gnu-social-bot-befcda1cdd0cddc72b4c844184da0784f83261a1.tar.lz
nasa-apod-gnu-social-bot-befcda1cdd0cddc72b4c844184da0784f83261a1.zip
Add troubleshooting tip.
* README.org: Add troubleshooting tip about -x flag.
-rw-r--r--README.org12
1 files changed, 12 insertions, 0 deletions
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.