Update bconsole.cpp

Some fix suggested by Steven A. Falco stevenfalco@gmail.com in vchanger threads
https://sourceforge.net/p/vchanger/mailman/vchanger-users/?viewmonth=202308&style=flat
This commit is contained in:
Wanderlei Hüttel 2023-11-06 15:48:43 -03:00 committed by GitHub
parent c8e8786a4f
commit 638f8e8392
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -187,8 +187,9 @@ void IssueBconsoleCommands(bool update_slots, bool label_barcodes)
tFormat(cmd, "update slots storage=\"%s\" drive=\"0\"", conf.storage_name.c_str()); tFormat(cmd, "update slots storage=\"%s\" drive=\"0\"", conf.storage_name.c_str());
if(issue_bconsole_command(cmd.c_str())) { if(issue_bconsole_command(cmd.c_str())) {
vlog.Error("WARNING! 'update slots' needed in bconsole"); vlog.Error("WARNING! 'update slots' needed in bconsole");
} else {
vlog.Info("bconsole update slots command success");
} }
vlog.Info("bconsole update slots command success");
} }
/* Perform label barcodes command in bconsole */ /* Perform label barcodes command in bconsole */
@ -197,8 +198,9 @@ void IssueBconsoleCommands(bool update_slots, bool label_barcodes)
conf.def_pool.c_str()); conf.def_pool.c_str());
if (issue_bconsole_command(cmd.c_str())) { if (issue_bconsole_command(cmd.c_str())) {
vlog.Error("WARNING! 'label barcodes' needed in bconsole"); vlog.Error("WARNING! 'label barcodes' needed in bconsole");
} else {
vlog.Info("bconsole label barcodes command success");
} }
vlog.Info("bconsole label barcodes command success");
} }
} }