Skip to content

Commit 81e7ce5

Browse files
authored
Address feedback on su invocation
1 parent 059408e commit 81e7ce5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

release_files/ui-post-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ then
1111
username="$(id -nu "${uid}")"
1212
# Only re-run if it was already running
1313
pkill -x -f /usr/bin/netbird-ui >/dev/null 2>&1
14-
su -l - "${username}" -c 'nohup /usr/bin/netbird-ui > /dev/null 2>&1 &'
14+
su - "${username}" -c 'nohup /usr/bin/netbird-ui > /dev/null 2>&1 &'
1515
fi

0 commit comments

Comments
 (0)