We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ceaccb commit 47b1a37Copy full SHA for 47b1a37
1 file changed
src/conf.cpp
@@ -4457,6 +4457,14 @@ void cls_config::init()
4457
4458
app->conf_src->process();
4459
4460
+ if ((app->cam_cnt == 0) && (app->snd_cnt == 0)) {
4461
+ MOTION_LOG(NTC, TYPE_ALL, NO_ERRNO
4462
+ , _("No camera or sound configuration files specified."));
4463
4464
+ , _("Adding a camera configuration file."));
4465
+ app->conf_src->camera_add("", false);
4466
+ }
4467
+
4468
cmdline();
4469
4470
for (indx=0; indx<app->cam_cnt; indx++) {
0 commit comments