Lines Matching refs:exitStatus
49 bool HdcDaemonUnity::AsyncCmdOut(bool finish, int64_t exitStatus, const string result)
80 funcResultOutput = [this](bool finish, int64_t exitStatus, const string result) -> bool {
81 return this->AsyncCmdOut(finish, exitStatus, result);
164 int exitStatus;
178 exitStatus = system("remount");
179 write(pipefd[1], &exitStatus, sizeof(int));
184 read(pipefd[0], &exitStatus, sizeof(int));
187 if (exitStatus == -1) {
190 } else if (WIFEXITED(exitStatus) && WEXITSTATUS(exitStatus) != 0) {
191 WRITE_LOG(LOG_FATAL, "Remount failed with exit code: %d", WEXITSTATUS(exitStatus));