summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-04-07 16:54:33 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-04-07 16:54:33 +0200
commit9225a82c669079f09b29f68296f273630f274ec9 (patch)
tree8be08f02108aee6893ff5337e0e203a4658cc084
parent8096c33c00d6e49b4d261f2016403675accafce8 (diff)
README: Fix update script
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 96ec4b9..788220c 100644
--- a/README.md
+++ b/README.md
@@ -65,7 +65,7 @@ or not.
```
git pull
chmod -R a+rX . # only needed if travelynx is running under a different user
-if perl index.pl database has-current-schema; then
+if perl index.pl database has-current-schema | grep -Fq yes; then
systemctl reload travelynx
else
systemctl stop travelynx