Index: cs.py =================================================================== diff -u -radec5be657a174b63971987fcabd492e58720712 -r75900e366b030a161bee88a48f5e02127ee950a4 --- cs.py (.../cs.py) (revision adec5be657a174b63971987fcabd492e58720712) +++ cs.py (.../cs.py) (revision 75900e366b030a161bee88a48f5e02127ee950a4) @@ -22,7 +22,7 @@ logging_level = logging.INFO def get_pid(): - proc_list = list(os.popen("ps ax | grep cloud_sync.py | grep -v grep")) + proc_list = list(os.popen("ps | grep cloud_sync.py | grep -v grep")) if len(proc_list) > 0: pid = proc_list[0].split()[0] return pid @@ -117,4 +117,4 @@ else: logger.error("incorrect %s argument", argument) logger.error(USAGE_FORMAT) - sys.exit(102) \ No newline at end of file + sys.exit(102)