# # Description: This patch fix ifconfig path so it can be found when mysql-workbench is run as a normal user # Forwarded: no # Bug: Reported by Orovalley, suggested by misc # Author : Balcaen John <balcaen.john@gmail.com> # Index: plugins/wb.admin/backend/wb_server_control.py =================================================================== --- plugins/wb.admin/backend/wb_server_control.py +++ plugins/wb.admin/backend/wb_server_control.py 2011-03-15 21:40:43.201073771 -0300 @@ -15,7 +15,7 @@ #------------------------------------------------------------------------------- def get_local_ip_list(): - cmd = "/bin/sh -c ifconfig" + cmd = "/bin/sh -c /sbin/ifconfig" regexp = "inet addr:([0-9a-f:\.]+)" if hasattr(sys, 'getwindowsversion'):