mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 14:25:59 +01:00
hyprctl: add missing newline in error case of missing HYPRLAND_INSTANCE_SIGNATURE
(#4832)
Before the change running a `hyprctl` in incomplete `Hyprland` environment merged error message and prompt for me as: $ hyprctl activewindow HYPRLAND_INSTANCE_SIGNATURE not set! (is hyprland running?)$ (note trailing `$` prompt). After the change the newline is present as expected: $ hyprctl activewindow HYPRLAND_INSTANCE_SIGNATURE not set! (is hyprland running?) $
This commit is contained in:
parent
9103af317e
commit
f534ac3fc4
1 changed files with 1 additions and 1 deletions
|
@ -367,7 +367,7 @@ int main(int argc, char** argv) {
|
|||
const auto ISIG = getenv("HYPRLAND_INSTANCE_SIGNATURE");
|
||||
|
||||
if (!ISIG) {
|
||||
std::cout << "HYPRLAND_INSTANCE_SIGNATURE not set! (is hyprland running?)";
|
||||
std::cout << "HYPRLAND_INSTANCE_SIGNATURE not set! (is hyprland running?)\n";
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue