liblttd fix
[ltt-control.git] / lttctl / ltt-disarmall.sh
index 64e65a426a7280fb74e2f0bc3433a5d66294a4c9..5fdcf1ec2b6f3fdf0acbaf80a6f15e5b52993ca5 100755 (executable)
@@ -14,7 +14,7 @@
 # with this program; if not, write to the Free Software Foundation, Inc.,
 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
-DEBUGFSROOT=$(grep ^debugfs /proc/mounts | head -1 | awk '{print $2}')
+DEBUGFSROOT=$(grep ^debugfs /proc/mounts | head -1 | awk '{print $2}')
 MARKERSROOT=${DEBUGFSROOT}/ltt/markers
 
 usage () {
@@ -48,7 +48,7 @@ while getopts "qh" options; do
 done
 shift $((${OPTIND} - 1))
 
-(eval "find '${MARKERSROOT}' -name metadata -prune -o -name enable -print0") | while read -r -d $'\0' marker; do
+(eval "find '${MARKERSROOT}' -name metadata -prune -o -name enable -print") | while read -r marker; do
        grep "^1$" "${marker}" -q
        if [ $? -ne 0 ]; then
                continue
This page took 0.035528 seconds and 4 git commands to generate.