mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-11-30 00:45:26 -05:00
Fix of Compile error in InstanceCheck.cpp on Linux (#4877)
This commit is contained in:
1 parent
6eee0c043c
commit
263759aca6
2 files changed
+1
-2
No files matched your search
@@ -255,7 +255,7 @@ bool instance_check(int argc, char** argv, bool app_config_single_instance)
|
||||
if (cla.should_send.value() && GUI::wxGetApp().single_instance_checker()->IsAnotherRunning()) {
|
||||
#else // mac & linx
|
||||
// get_lock() creates the lockfile therefore *cla.should_send is checked after
|
||||
if (instance_check_internal::get_lock(lock_name + ".lock", data_dir() + "/cache/"&& *cla.should_send)) {
|
||||
if (instance_check_internal::get_lock(lock_name + ".lock", data_dir() + "/cache/") && *cla.should_send) {
|
||||
#endif
|
||||
instance_check_internal::send_message(cla.cl_string, lock_name);
|
||||
BOOST_LOG_TRIVIAL(info) << "instance check: Another instance found. This instance will terminate.";
|
||||
|
||||
Reference in new issue
Block a user