[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: strange problem with at jobs



On Wed, Feb 26, 2003 at 12:47:37PM +0200, Alexey Chetroi wrote:
>   I've observerd a strange problem when tried to schedule a few
> jobs for at daemon. at job refuses to run, complaining to unexpected
> end of file.
[...]
> SSH_AGENT_PID=21713; export SSH_AGENT_PID
> if test ${USER} !=\ \'root\'\;\ then; export if test ${USER} !
> HOME=/home/lex; export HOME
[...]

Somehow, you've ended up with an environment variable called:

  "if test ${USER} !"

which is set to:

  " 'root'; then"

I'd check your shell startup files for bugs.

Cheers,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: