diff options
Diffstat (limited to 'netdata-installer.sh')
-rwxr-xr-x | netdata-installer.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/netdata-installer.sh b/netdata-installer.sh index 1c08d8d9b7..14e5f64a58 100755 --- a/netdata-installer.sh +++ b/netdata-installer.sh @@ -376,7 +376,7 @@ if [ ${UID} -eq 0 ] if [ $? -ne 0 ] then echo >&2 "Adding netdata user account ..." - run useradd -r -g netdata -c netdata -s /sbin/nologin -d / netdata + run useradd -r -g netdata -c netdata -s $(which nologin) -d / netdata fi getent group docker > /dev/null |