Turned everything ito a function

This commit is contained in:
2021-04-03 15:37:23 +03:00
parent 358880697e
commit 53a9ea38e4

View File

@@ -1,4 +1,4 @@
#!/bin/sh
sshukh () {
output=$(ssh "$@")
if [ $? -eq 255 ];
then
@@ -12,3 +12,4 @@ then
esac
done
fi
}