Skip to content

Commit

Permalink
rs-enumerate-devices returns failure if no device found (detect no de…
Browse files Browse the repository at this point in the history
…vice in scripts)
  • Loading branch information
OhadMeir committed Nov 17, 2024
1 parent e1cf8e5 commit 7ac1dfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/enumerate-devices/rs-enumerate-devices.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ int main(int argc, char** argv) try
if( !device_count )
{
cout << "No device detected. Is it plugged in?\n";
return EXIT_SUCCESS;
return EXIT_FAILURE;
}

if (short_view || compact_view)
Expand Down

0 comments on commit 7ac1dfa

Please sign in to comment.