mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-11 13:20:56 +02:00
sphinx-relay: remove sudo from status
fixes the fresh install as in: https://github.com/rootzoll/raspiblitz/issues/2089
This commit is contained in:
parent
47f3455704
commit
7618de383e
@ -303,7 +303,7 @@ if [ "$1" = "status" ]; then
|
||||
echo "connectionTest='${connectionTest}'"
|
||||
|
||||
# check if already an app was connected to relay (after that a second connection will not work)
|
||||
connectionApp=$(sudo sqlite3 /mnt/hdd/app-data/sphinxrelay/sphinx.db "SELECT * FROM sphinx_contacts WHERE auth_token IS NOT NULL;" 2>/dev/null | grep -c "1||")
|
||||
connectionApp=$(sqlite3 /mnt/hdd/app-data/sphinxrelay/sphinx.db "SELECT * FROM sphinx_contacts WHERE auth_token IS NOT NULL;" 2>/dev/null | grep -c "1||")
|
||||
echo "connectionApp=${connectionApp}"
|
||||
|
||||
exit 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user