2 ms·
This is a feature of posix shells, the status of `while ...` outside the loop is zero unless the loop never executed.
by ComputerGuru 6y ago
This is a feature of posix shells, the status of `while ...` outside the loop is zero unless the loop never executed.