diff options
| author | Christian Breunig <christian@breunig.cc> | 2026-03-25 20:15:35 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-25 20:15:35 +0100 |
| commit | 210547f31ef45e6bb42b44bdaa8a8864179a8bbc (patch) | |
| tree | 062c31be54266e4b72c525a6c7a527468618b7c6 /src/conf_mode/system_console.py | |
| parent | d41069f213eaaf0f63b99a1373c06d50bbe4831d (diff) | |
| parent | bb2aee1e58c1cd30087b935798060e6bf3c698c8 (diff) | |
| download | vyos-1x-210547f31ef45e6bb42b44bdaa8a8864179a8bbc.tar.gz vyos-1x-210547f31ef45e6bb42b44bdaa8a8864179a8bbc.zip | |
Merge pull request #5082 from sever-sever/T8410
T8410: Fix typos and mistakes for operational and configuration commands
Diffstat (limited to 'src/conf_mode/system_console.py')
| -rwxr-xr-x | src/conf_mode/system_console.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/conf_mode/system_console.py b/src/conf_mode/system_console.py index fe910c1b0..4411257e3 100755 --- a/src/conf_mode/system_console.py +++ b/src/conf_mode/system_console.py @@ -67,7 +67,7 @@ def verify(console): # If the device name still starts with usbXXX no matching tty was found # and it can not be used as a serial interface if not os.path.isdir(by_bus_dir) or not os.path.exists(by_bus_device): - raise ConfigError(f'Device {device} does not support beeing used as tty') + raise ConfigError(f'Device {device} does not support being used as tty') if not is_tty(device): Warning(f'Device "{device}" used for console is not a TTY!') @@ -99,7 +99,7 @@ def generate(console): console['device'][device_updated] = console['device'][device] del console['device'][device] else: - raise ConfigError(f'Device {device} does not support beeing used as tty') + raise ConfigError(f'Device {device} does not support being used as tty') for device, device_config in console['device'].items(): # Do not render getty configuration if specified device is not a TTY. @@ -114,7 +114,7 @@ def generate(console): # GRUB # For existing serial line change speed (if necessary) - # Only applys to ttyS0 + # Only applies to ttyS0 if 'ttyS0' not in console['device']: return None |
