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