diff options
Diffstat (limited to 'src/Device/Device.cpp')
-rw-r--r-- | src/Device/Device.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Device/Device.cpp b/src/Device/Device.cpp index c99e252..d52fa93 100644 --- a/src/Device/Device.cpp +++ b/src/Device/Device.cpp @@ -575,7 +575,7 @@ void Device::store(std::string name, std::string value) { retval = gpiod_ctxless_set_value(chipname, offset, intvalue, false, CMDNAME, NULL, NULL); if(retval != -1) - return; + exitHandler(0); } std::ofstream fileToWrite(SYSFS_PLATFORM + name); |