Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
exec/util: fix infinite loop in Depth() if -root is relative
If the -root command-line argument isn't an absolute path, and the files stage tries to write a file, we get stuck in an infinite loop in Depth(). Ignition shouldn't normally be invoked this way, but it might occur during manual debugging. Avoid the infinite loop.
- Loading branch information