Public bug reported:

Hi there,

I believe there is an axtra carriage return in the function has_option()
in the file /etc/X11/Xsession.d/20x11-common_process-args.  The function
is defined as:

has_option() {
  if [ "${OPTIONS#*
$1}" != "$OPTIONS" ]; then
    return 0
  else
    return 1
  fi
}

however it looks like there is an extra carriage return after the *.  I
believe the function should look like this:

has_option() {
  if [ "${OPTIONS#*$1}" != "$OPTIONS" ]; then
    return 0
  else
    return 1
  fi
}

Thanks.

** Affects: gnome-session (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-session in Ubuntu.
https://bugs.launchpad.net/bugs/1672566

Title:
  Extra carriage return in 20x11-common_process-args

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/1672566/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to