diff --git a/CMakeLists.txt b/CMakeLists.txt index d013916..baf4c11 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required (VERSION 3.2) project(compilescript - VERSION 0.3.3 + VERSION 0.3.4 LANGUAGES CXX ) diff --git a/src/main.cpp b/src/main.cpp index f2dc13c..1f58696 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -50,10 +50,7 @@ bool read_settings() { bool need_save = false; xdgcfg config("compilescript.cfg"); - if (config.read() != 0) - { - return false; - } + config.read(); libconfig::Setting &cfg = config.get_cfg().getRoot(); if (cfg.exists("compiler"))