gnome-shell r22 - trunk/scripts



Author: otaylor
Date: Sun Nov  2 04:18:36 2008
New Revision: 22
URL: http://svn.gnome.org/viewvc/gnome-shell?rev=22&view=rev

Log:
Pass the right number of arguments to exit()

When using gdb to quit the panel, pass the right number of arguments
to exit(), so that gdb calls it instead of erroring out.

Modified:
   trunk/scripts/start-replace

Modified: trunk/scripts/start-replace
==============================================================================
--- trunk/scripts/start-replace	(original)
+++ trunk/scripts/start-replace	Sun Nov  2 04:18:36 2008
@@ -17,7 +17,7 @@
     for pid in pids:
         subprocess.call(["gdb", "-batch-silent",
                          "-ex", "call panel_session_do_not_restart()",
-                         "-ex", "call exit()",
+                         "-ex", "call exit(0)",
                          "-p", pid], stdout=devnull, stderr=devnull)
     devnull.close()
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]