mirror of https://github.com/aristocratos/btop.git
Fixed some formatting issues.
This commit is contained in:
parent
ba0b34db3f
commit
e70dbc1bce
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue