X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttctl%2Fltt-disarmall.sh;fp=lttctl%2Fltt-disarmall.sh;h=4f4fdcab7f5012c2be48f0d26404d3757c4ff570;hb=7ce719c077ee09d91889d3534164d8a96d152d25;hp=64e65a426a7280fb74e2f0bc3433a5d66294a4c9;hpb=d7a3410b5ce5a9cf33c488f8602e9976bef90eeb;p=ltt-control.git diff --git a/lttctl/ltt-disarmall.sh b/lttctl/ltt-disarmall.sh index 64e65a4..4f4fdca 100755 --- a/lttctl/ltt-disarmall.sh +++ b/lttctl/ltt-disarmall.sh @@ -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 -n 1 | awk '{print $2}') MARKERSROOT=${DEBUGFSROOT}/ltt/markers usage () {