add proper error handling for all final exec calls
[hband-tools.git] / user-tools / PMnslist
blobfae43f8f855f8be3974c3c66ee6c595a870b7163
1 #!/bin/bash
3 true <<EOF
4 =pod
6 =head1 NAME
8 PMnslist - Poor man's namespace list
10 =cut
12 EOF
14 find /proc/ -regex '.+/ns/.+' -printf '%l\n' 2>/dev/null |\
15 { type uq >/dev/null 2>&1 && uq || sort -u ; }