ltt-armall: head -1 is deprecated, replace by head -n 1
[ltt-control.git] / lttctl / ltt-armall.sh
index 307f0b13f6084d1112105beea794c51bab874ed7..9b740d1cfd9b0e7dc85112f79000a8ae18ccccbc 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 () {
This page took 0.022562 seconds and 4 git commands to generate.