Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(livenet): split
imgsize
calculation to avoid misleading error m…
…essage If `curl` fails to reach the URL of the live image, or if the header received does not provide `Content-Length`, the error message displayed is misleading. ``` [ 8.118432] dracut-initqueue[800]: /usr/sbin/livenetroot: line 21: / (1024 * 1024): syntax error: operand expected (error token is "/ (1024 * 1024)") ``` Therefore, split the calculation and provide proper error messages. Reported-by: Knut Anderssen <kanderssen@suse.com>
- Loading branch information