We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5ff9992 + 8ee8993 commit a48fcd2Copy full SHA for a48fcd2
plugins/modules/sap_facts.sh
@@ -286,7 +286,7 @@ function check_sapstartsrv(){
286
# $3 - NR
287
288
## Count the number of sapstartsrv processes
289
- SAPSTARTSRV=$(ps -ef | grep $2 | grep $3 | grep sapstartsrv | wc -l)
+ SAPSTARTSRV=$(ps -eo exe | grep $2 | grep $3 | grep sapstartsrv | wc -l)
290
291
if [[ $SAPSTARTSRV = 0 ]]; then
292
## No sapstartsrv process running - attempt to start
0 commit comments