On 25.02.2015 23:42, Gunnar Hjalmarsson wrote:

> Thanks for your comments!
> 
> On 2015-02-25 19:56, Daniel Hahler wrote:
>>     set -x
>>     exec 1>>$logfile
>>     exec 2>>$logfile
> 
> Really using the "exec" command in ~/.profile would stop the execution
> of the main process (/usr/sbin/lightdm-session), so I suppose your
> ~/.profile did not literally contain the above lines. To understand if
> it was a false positive, you need to tell us more.

It does not stop the execution / replace the current process, but only
redirects the file descriptors when used like this (1 (stdout) and 2 (stderr)).

It's fine like it is and expected - just wanted to provide it as feedback
nonetheless.


Cheers,
Daniel.

-- 
http://daniel.hahler.de/

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

Title:
  Error message for a faulty ~/.profile script

To manage notifications about this bug go to:
https://bugs.launchpad.net/gdm/+bug/678421/+subscriptions

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

Reply via email to