Use "shutdown -p now" on all three BSDs (thanks to olivier_)

This commit is contained in:
Pierre Pronchery 2012-06-28 00:27:27 +00:00
parent 744a12fd5d
commit afb9f8b335

View File

@ -1608,7 +1608,7 @@ static void _shutdown_dialog_on_response(GtkWidget * widget, gint response,
Panel * panel = data;
char * reboot[] = { "/sbin/shutdown", "shutdown", "-r", "now", NULL };
char * shutdown[] = { "/sbin/shutdown", "shutdown",
#ifdef __NetBSD__
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
"-p",
#else
"-h",