fix: replace lastlog2 with lastlog for SSH login information and clean up related dependencies
Some checks failed
Nix Format Check / check-format (push) Failing after 38s

This commit is contained in:
2025-03-10 20:28:05 +01:00
parent ee064f521b
commit 132b7b1b66
4 changed files with 5 additions and 4 deletions

View File

@ -80,6 +80,7 @@ def logo(continue_after=False):
sys.exit(0)
except Exception as e:
printfe("red", f"Error displaying logo: {e}")
def run_command(command, shell=False):
"""Run a shell command and return the result"""
try:
@ -93,7 +94,6 @@ def run_command(command, shell=False):
return False, e.stderr.strip()
except FileNotFoundError:
return False, f"Command '{command[0]}' not found"
return False, e.stderr.strip()
def ensure_dependencies():
"""Check and install required dependencies for the dotfiles system"""