Fixed some formatting issues.

This commit is contained in:
0xJoeMama 2022-05-20 23:48:59 +03:00
parent ba0b34db3f
commit e70dbc1bce
No known key found for this signature in database
GPG Key ID: 6E0A65853073294E
1 changed files with 3 additions and 3 deletions

View File

@ -1,10 +1,11 @@
// clang-format off
/* Copyright 2021 Aristocratos (jakob@qvantnet.com)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
@ -15,7 +16,6 @@
indent = tab
tab-size = 4
*/
// clang-format off
#include <fstream>
#include <ranges>
@ -1505,7 +1505,7 @@ namespace Proc {
vector<size_t> found;
for (const auto& d: fs::directory_iterator(Shared::procPath)) {
if (Runner::stopping)
return current_procs;
return current_procs;
if (pread.is_open()) pread.close();
const string pid_str = d.path().filename();