Jeff Schroeder wrote:
Please do not fork a subshell here. Use an if statement so the code isThanks for correction. Always good to know that the original author is watching ;-)
more readable. If only there was PEP8 for bash :)
if [ $? -eq 0 ]; then
rm -rf /tmp/$tmpdir
continue
fi
Seems reasonable.
git diff attached.
Leon
_______________________________________________ cobbler-devel mailing list cobbler-devel@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler-devel