0

I'm experiencing some trouble running less and expect inside LXC container (whether using console or SSH)

Expect won't work before I won't add an "interact" anywhere in the script, and less doesn't show any output, and exits with status 1 :

[root@app-lxc log]# less messages 
[root@app-lxc log]# echo $?
1

I think those two problems are related, and have something to do with terminal settings.

2
  • 1
    If you think it is related to terminal settings, then the output of echo "$TERM" should certainly be included in your question.
    – kasperd
    Nov 27, 2014 at 8:52
  • Explaining why you think it has something to do with terminal settings is a good idea, too. Nov 27, 2014 at 15:09

0

You must log in to answer this question.

Browse other questions tagged .