* Supress output of ffluci-flash
authorSteven Barth <steven@midlink.org>
Fri, 11 Apr 2008 19:53:09 +0000 (19:53 +0000)
committerSteven Barth <steven@midlink.org>
Fri, 11 Apr 2008 19:53:09 +0000 (19:53 +0000)
core/src/ffluci/sys.lua

index 5b3f7a3..334768c 100644 (file)
@@ -58,7 +58,7 @@ function flash(image, kpattern)
        if kpattern then
                cmd = cmd .. "-k '" .. kpattern:gsub("'", "") .. "' "
        end
-       cmd = cmd .. "'" .. image:gsub("'", "") .. "'"
+       cmd = cmd .. "'" .. image:gsub("'", "") .. "' >/dev/null 2>&1"
        
        return os.execute(cmd)
 end