aboutsummaryrefslogtreecommitdiffstats
path: root/vps-do.pl
diff options
context:
space:
mode:
authorJoe <bousset.rudy@gmail.com>2022-04-27 22:28:58 +0200
committerJoe <bousset.rudy@gmail.com>2022-04-27 22:28:58 +0200
commitde12dd83900aef40b03d21057b45644e712d7da6 (patch)
tree32e40342a23e240596a8b698a7237faed6891f97 /vps-do.pl
parentRenamed file (diff)
downloadjoe-scripts-de12dd83900aef40b03d21057b45644e712d7da6.tar.gz
joe-scripts-de12dd83900aef40b03d21057b45644e712d7da6.tar.bz2
joe-scripts-de12dd83900aef40b03d21057b45644e712d7da6.tar.xz
joe-scripts-de12dd83900aef40b03d21057b45644e712d7da6.tar.zst
joe-scripts-de12dd83900aef40b03d21057b45644e712d7da6.zip
new script
Diffstat (limited to '')
-rwxr-xr-xvps-do.pl7
1 files changed, 1 insertions, 6 deletions
diff --git a/vps-do.pl b/vps-do.pl
index 6f49d38..0cc23d1 100755
--- a/vps-do.pl
+++ b/vps-do.pl
@@ -3,17 +3,12 @@
use strict;
use warnings;
use Term::ANSIColor;
+
use constant SCRIPTS_DIR => '/root/scripts/src/';
use constant SSH_BOY => 'root@jozanofastora.xyz';
sub main {
my $argc = $#ARGV + 1;
- if ($argc < 1) {
- print colored("Failed!\n", 'bold red')
- . 'Missing argument, at least 2 needed '
- . colored("[script-invoke - (argument(s))]\n", 'bold');
- exit 1;
- }
my $called_script = '';
my $argv_line = '';
if (