Skip to content

Commit bbe707e

Browse files
authored
systemd_enable.sh: is_enabled -> is-enabled
Typo in systemctl check prevents tmux service to autostart.
1 parent 499b6a7 commit bbe707e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/handle_tmux_automatic_start/systemd_enable.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ template() {
3535
}
3636

3737
systemd_tmux_is_enabled() {
38-
systemctl --user is_enabled $(basename "${systemd_unit_file_path}") >/dev/null 2>&1
38+
systemctl --user is-enabled $(basename "${systemd_unit_file_path}") >/dev/null 2>&1
3939
}
4040

4141
enable_tmux_unit_on_boot() {

0 commit comments

Comments
 (0)