Closed hardillb closed 12 months ago
https://github.com/FlowFuse/device-agent/blob/239c1c824212c76575978badd4c765d73c10f308/service/raspbian-install-device-agent.sh#L93
$SUDO_USER is empty as it's not running under sudo.
$SUDO_USER
Probably need to replace this with $USER
$USER
Thank you, I'll create a PR and close both with it
https://github.com/FlowFuse/device-agent/blob/239c1c824212c76575978badd4c765d73c10f308/service/raspbian-install-device-agent.sh#L93
$SUDO_USER
is empty as it's not running under sudo.Probably need to replace this with
$USER