X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=lttctl%2Fltt-armall.sh;h=9b740d1cfd9b0e7dc85112f79000a8ae18ccccbc;hb=7ce719c077ee09d91889d3534164d8a96d152d25;hp=307f0b13f6084d1112105beea794c51bab874ed7;hpb=d7a3410b5ce5a9cf33c488f8602e9976bef90eeb;p=ltt-control.git diff --git a/lttctl/ltt-armall.sh b/lttctl/ltt-armall.sh index 307f0b1..9b740d1 100755 --- a/lttctl/ltt-armall.sh +++ b/lttctl/ltt-armall.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 () {