From a0ec866e3a5df370dc313fe0a657e7a2fee8d7b3 Mon Sep 17 00:00:00 2001 From: Hippolyte Chauvin Date: Tue, 18 Apr 2023 18:54:29 +0200 Subject: [PATCH] =?UTF-8?q?Probl=C3=A8me=20d'inattention=20dans=20ma=20mod?= =?UTF-8?q?ification=20de=20wolf?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/wolf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/wolf b/bin/wolf index e4468ea..1cea48e 100755 --- a/bin/wolf +++ b/bin/wolf @@ -1,5 +1,8 @@ #!/bin/bash +# Arguments +hostname="$1"; shift + # Variables declare mac declare -a wol_com options @@ -7,9 +10,6 @@ name="$(basename "$0")" wolf_d="${HOME}/.wolf" wolf_host="${wolf_d}/${hostname}" -# Arguments -hostname="$1"; shift - # Functions # Throw an error function error {