Skip to content
This repository was archived by the owner on Jun 15, 2020. It is now read-only.

Commit 66bcf51

Browse files
committed
mnttool: Move rebuildfstab call here from mountables.sh
1 parent a550b3c commit 66bcf51

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

mnttool/mnttool.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ else
120120

121121
void btnRefreshCallback(Fl_Widget*, void* userdata) {
122122
getPos();
123+
system("sudo rebuildfstab");
123124
refresh();
124125
}
125126

mnttool/mnttool.fl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ else
150150
Function {btnRefreshCallback(Fl_Widget*, void* userdata)} {open return_type {static void}
151151
} {
152152
code {getPos();
153+
system("sudo rebuildfstab");
153154
refresh();} {}
154155
}
155156

0 commit comments

Comments
 (0)