grub-devel
[Top][All Lists]
Advanced

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

lua 'grub.run' does not return message text


From: edgar . soldin
Subject: lua 'grub.run' does not return message text
Date: Thu, 14 Jan 2010 22:12:16 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0

When I run

err,msg = grub.run("ls")

only the variable err is filled with the exit code.
msg is still nil .. I saw documentation that grub.run is supposed to return the output in the second variable.

I use lua from grub-extras repository
http://bzr.savannah.gnu.org/lh/grub-extras/
checked out yesterday.

What am I doing wrong?

Thanks .. ede





reply via email to

[Prev in Thread] Current Thread [Next in Thread]