FlowFuse / device-agent

An agent to run FlowFuse managed instances of Node-RED on devices
Apache License 2.0
15 stars 8 forks source link

bug: Use $USER instead of undefined variable #193

Closed ZJvandeWeg closed 10 months ago

ZJvandeWeg commented 10 months ago

The script used to use $SUDO_USER, which was undefined. This change relies on the predefined $USER variable instead.

This change has been validated on my device.

Related Issue(s)

Closes https://github.com/FlowFuse/device-agent/issues/192

Closes https://github.com/FlowFuse/device-agent/issues/187

Checklist

Labels