Skip to content

Commit ef24b45

Browse files
committed
fix big ooops with fi line 821
1 parent f2ae3d7 commit ef24b45

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

deb/update-nodejs-and-nodered

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,7 @@ case $yn in
818818
# echo ""
819819
# echo " sudo chown root:root ~/.node-red/settings.js"
820820
# echo " "
821-
# fi
821+
fi
822822
if [ "$EUID" == "0" ]; then
823823
echo " - Do not run Node-RED as root or an administraive account"
824824
echo " "

resources/node-red-start

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,13 @@ if [[ $(which node-red-pi) ]]; then
5252
sudo systemctl start nodered
5353
echo " "
5454
echo "Starting as a systemd service."
55-
sudo journalctl -f -n 0 -u nodered -o cat
55+
sudo journalctl -f -n 1 -u nodered -o cat
5656
elif [ $EUID -eq 0 ]; then
5757
# Current user is root, start node-red through systemd
5858
systemctl start nodered
5959
echo " "
6060
echo "Starting as root systemd service."
61-
journalctl -f -n 0 -u nodered -o cat
61+
journalctl -f -n 1 -u nodered -o cat
6262
else
6363
# Start node-red as unprivileged user
6464
echo " "

0 commit comments

Comments
 (0)