Searched refs:missing_ok (Results 1 – 2 of 2) sorted by relevance
176 def get_pid_file(self, pid_file, missing_ok=False): argument193 if not missing_ok or e.errno != errno.ENOENT:199 def kill_pid_file(self, pid_file, missing_ok=False): argument208 pid = self.get_pid_file(pid_file, missing_ok=missing_ok)209 if missing_ok and pid == 0:
188 chroot.kill_pid_file(self.XL2TPD_PID_FILE, missing_ok=True)189 chroot.kill_pid_file(self.PPPD_PID_FILE, missing_ok=True)304 chroot.kill_pid_file(self.OPENVPN_PID_FILE, missing_ok=True)