1
0
Fork 0
forked from ahurac/dotfiles

Problème d'inattention dans ma modification de wolf

This commit is contained in:
Hippolyte Chauvin 2023-04-18 18:54:29 +02:00
parent d20ae1291a
commit a0ec866e3a

View file

@ -1,5 +1,8 @@
#!/bin/bash #!/bin/bash
# Arguments
hostname="$1"; shift
# Variables # Variables
declare mac declare mac
declare -a wol_com options declare -a wol_com options
@ -7,9 +10,6 @@ name="$(basename "$0")"
wolf_d="${HOME}/.wolf" wolf_d="${HOME}/.wolf"
wolf_host="${wolf_d}/${hostname}" wolf_host="${wolf_d}/${hostname}"
# Arguments
hostname="$1"; shift
# Functions # Functions
# Throw an error # Throw an error
function error { function error {