View | Details | Raw Unified | Return to bug 7719
Collapse All | Expand All

(-)mysqld.orig (+11 lines)
Lines 101-106 Link Here
101
		status --pidfile "$PIDFILE" --expect-user mysql mysqld
101
		status --pidfile "$PIDFILE" --expect-user mysql mysqld
102
		RETVAL=$?
102
		RETVAL=$?
103
		;;
103
		;;
104
	extendedstatus)
105
		if [ "$EUID" = 0 ]; then
106
			if [ -e "$LOCKFILE" ]; then
107
				mysqladmin status
108
			else
109
				$0 status
110
			fi
111
		else
112
				mysqladmin status	# may bark if mysqld is down
113
		fi
114
		;;
104
	*)
115
	*)
105
		msg_usage "${0##*/} {start|stop|reload|restart|condstop|condrestart|adjust|status}"
116
		msg_usage "${0##*/} {start|stop|reload|restart|condstop|condrestart|adjust|status}"
106
		RETVAL=1
117
		RETVAL=1

Return to bug 7719