On Sun, 26 Oct 2014, Jakub Wilk wrote: > * Henrique de Moraes Holschuh <h...@debian.org>, 2014-10-26, 10:57: > >"rmdir >/etc/foo/bar/ >/dev/null 2>&1 || true" is always a safe > >operation... > > Instead of ignoring (and hiding) all errors, it's better use > --ignore-fail-on-non-empty.
That's a GNU coreutils-ism :-) But yes, it might be better to use "rmdir --ignore-fail-on-non-empty" -- "One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20141026231608.ga24...@khazad-dum.debian.net