orca r4290 - in trunk: . src/orca



Author: wwalker
Date: Tue Oct 14 23:03:02 2008
New Revision: 4290
URL: http://svn.gnome.org/viewvc/orca?rev=4290&view=rev

Log:
More fix for bug #556049 - Orca restarts when user logs out from the 
session


Modified:
   trunk/ChangeLog
   trunk/src/orca/orca.in

Modified: trunk/src/orca/orca.in
==============================================================================
--- trunk/src/orca/orca.in	(original)
+++ trunk/src/orca/orca.in	Tue Oct 14 23:03:02 2008
@@ -151,7 +151,11 @@
     # erroneously types an illegal command line argument, the help
     # text is emitted and the other orca is not killed.
     #
-    CLEANUP=`egrep -c "\-s|\-t|\-n|\-u|\-e|\-d" <<< $ARGS`
+    if [ "x$ARGS" = "x" ] ; then
+        CLEANUP=1
+    else
+        CLEANUP=`egrep -c "\-s|\-t|\-n|\-u|\-e|\-d" <<< $ARGS`
+    fi
 
     # Clean up before running orca to get anything that might
     # be laying around.



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