Public bug reported:

In trusty the script /usr/bin/startxfce4 has "#!/bin/sh" as shebang and
in line 27 it uses test:

if test "x$OPT" == "x--help" ...

if i execute

sh -c 'if test "x--help" == "x--help" ; then echo ok ; else echo not ok
; fi'

sh returns:
sh: 1: test: x--help: unexpected operator
not ok

this leads to the fact that neighter --help nor --with-ck-launch nor any
other parameter is ever respected / executed.

changing the test to something that is conform to sh syntax or chaning
the shebang to "#!/bin/bash" should fix the isue.

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


** Tags: sh startxfce4 with-ck-launch

** Package changed: xfce4-power-manager (Ubuntu) => xfce4-session
(Ubuntu)

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

Title:
  startxfce4 can't be used with --with-ck-launch

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

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

Reply via email to