Skip to content

Commit 3ff44ac

Browse files
Android Build Coastguard Workercjreynol
authored andcommitted
Snap for 11510413 from fcde73d to 24Q3-release
Change-Id: I77e56f3a68f25e1486751a64a1fad5e7a309af15
1 parent 42b8435 commit 3ff44ac

File tree

1 file changed

+1
-1
lines changed
  • base/cvd/cuttlefish/host/commands/logcat_receiver

1 file changed

+1
-1
lines changed

base/cvd/cuttlefish/host/commands/logcat_receiver/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ int main(int argc, char** argv) {
7979
<< ". This is unrecoverable.";
8080
if (first_iter) {
8181
first_iter = false;
82-
if ((!config->snapshot_path().empty())) {
82+
if (cuttlefish::IsRestoring(*config)) {
8383
cuttlefish::SharedFD restore_pipe = cuttlefish::SharedFD::Open(
8484
instance.restore_pipe_name().c_str(), O_WRONLY);
8585
if (!restore_pipe->IsOpen()) {

0 commit comments

Comments
 (0)