systemd_enable.sh: is_enabled -> is-enabled

Typo in systemctl check prevents tmux service to autostart.
This commit is contained in:
Sergey Korolev 2016-09-17 03:23:28 +03:00 committed by GitHub
parent 499b6a7e4e
commit bbe707ec3d

View File

@ -35,7 +35,7 @@ template() {
} }
systemd_tmux_is_enabled() { systemd_tmux_is_enabled() {
systemctl --user is_enabled $(basename "${systemd_unit_file_path}") >/dev/null 2>&1 systemctl --user is-enabled $(basename "${systemd_unit_file_path}") >/dev/null 2>&1
} }
enable_tmux_unit_on_boot() { enable_tmux_unit_on_boot() {