Description of problem: When using taskcleaner.sh utility to list task or zombie tasks, the utility outputs extra lines For example : --- Start--- ./taskcleaner.sh -u postgres -d ovirt ~/ovirt-engine/backend/manager/dbscripts ~/ovirt-engine/backend/manager/dbscripts (No rows) ~/ovirt-engine/backend/manager/dbscripts --- End--- The directories in the output are the result of pushd and popd using in the script to make it runnable from any place by its full name. When the utility returns no data, it is important that no redundant output is generated in order to track this correctly. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1.Have no running tasks (async_tasks table is empty) 2.run taskcleaner.sh -u postgres -d engine 3. You will get extra rows before and after the "(No rows)" row Actual results: Extra output is displayed Expected results: When no tasks available, only "(No rows)" should be displayed in the output Additional info:
http://gerrit.ovirt.org/#/c/11298/
fixed in commit : 9393178
3.2 has been released