We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42b8435 commit 3ff44acCopy full SHA for 3ff44ac
base/cvd/cuttlefish/host/commands/logcat_receiver/main.cpp
@@ -79,7 +79,7 @@ int main(int argc, char** argv) {
79
<< ". This is unrecoverable.";
80
if (first_iter) {
81
first_iter = false;
82
- if ((!config->snapshot_path().empty())) {
+ if (cuttlefish::IsRestoring(*config)) {
83
cuttlefish::SharedFD restore_pipe = cuttlefish::SharedFD::Open(
84
instance.restore_pipe_name().c_str(), O_WRONLY);
85
if (!restore_pipe->IsOpen()) {
0 commit comments