mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-02 02:34:19 +00:00
Report when a /tmp/port is missing files.
This commit is contained in:
@@ -20,6 +20,9 @@ for port in "$@"; do
|
|||||||
if [ -x "/tmp/$port/stop" ]; then
|
if [ -x "/tmp/$port/stop" ]; then
|
||||||
/tmp/$port/stop
|
/tmp/$port/stop
|
||||||
exit_status=$((exit_status | $?))
|
exit_status=$((exit_status | $?))
|
||||||
|
else
|
||||||
|
echo "/tmp/$port is missing files:" >&2
|
||||||
|
ls -la /tmp/$port >&2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
rm -rf /tmp/$port
|
rm -rf /tmp/$port
|
||||||
|
Reference in New Issue
Block a user