pt-stalk giving warning about arguments with no arguments set

Bug #1042767 reported by Jay Janssen
This bug report is a duplicate of:  Bug #942114: pt-stalk warns about bad "find" usage. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Toolkit moved to https://jira.percona.com/projects/PT
New
Undecided
Unassigned

Bug Description

No command line options gives a warning about the -depth option:

# pt-stalk
2012_08_28_09_19_47 Starting /usr/bin/pt-stalk --function=status --variable=Threads_running --threshold=25 --match= --cycles=5 --interval=1 --iterations= --run-time=30 --sleep=300 --dest=/var/lib/pt-stalk --prefix= --notify-by-email= --log=/var/log/pt-stalk.log --pid=/var/run/pt-stalk.pid
2012_08_28_09_19_47 Check results: Threads_running=7, matched=no, cycles_true=0
find: warning: you have specified the -depth option after a non-option argument -type, but options are not positional (-depth affects tests specified before it as well as those specified after it). Please specify options before other arguments.
2012_08_28_09_19_48 Check results: Threads_running=8, matched=no, cycles_true=0
find: warning: you have specified the -depth option after a non-option argument -type, but options are not positional (-depth affects tests specified before it as well as those specified after it). Please specify options before other arguments.

2012_08_28_09_19_49 Check results: Threads_running=10, matched=no, cycles_true=0
find: warning: you have specified the -depth option after a non-option argument -type, but options are not positional (-depth affects tests specified before it as well as those specified after it). Please specify options before other arguments.

2012_08_28_09_19_50 Check results: Threads_running=7, matched=no, cycles_true=0
2012_08_28_09_19_50 Caught signal, exiting find: warning: you have specified the -depth option after a non-option argument -type, but options are not positional (-depth affects tests specified before it as well as those specified after it). Please specify options before other arguments.

Tags: pt-stalk
Revision history for this message
Jay Janssen (jay-janssen) wrote :

this is pt-stalk 2.1.3 BTW

Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote :
tags: added: pt-stalk
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.