mirror of
https://github.com/anatolykopyl/sshukh.git
synced 2026-03-26 21:05:05 +00:00
Turned everything ito a function
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
sshukh () {
|
||||
output=$(ssh "$@")
|
||||
if [ $? -eq 255 ];
|
||||
then
|
||||
@@ -12,3 +12,4 @@ then
|
||||
esac
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user