Commit 4d3c1121 authored by intrigeri's avatar intrigeri
Browse files

Update comment so it matches the current code (refs: #15583)

parent d92bfe9f
...@@ -15,8 +15,7 @@ ...@@ -15,8 +15,7 @@
# Get LIVE_USERNAME # Get LIVE_USERNAME
. /etc/live/config.d/username.conf . /etc/live/config.d/username.conf
# Since we don't want to add 'su' function for root user, we will stop # Only add the 'su' function for the desktop user.
# execution of this script if $USER is root.
[ "$USER" == "$LIVE_USERNAME" ] || return [ "$USER" == "$LIVE_USERNAME" ] || return
su (){ su (){
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment