ltt-armall: head -1 is deprecated, replace by head -n 1
[ltt-control.git] / lttctl / ltt-disarmall.sh
index 64e65a426a7280fb74e2f0bc3433a5d66294a4c9..4f4fdcab7f5012c2be48f0d26404d3757c4ff570 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.022464 seconds and 4 git commands to generate.