Przeglądaj źródła

added profile include for cron launch

Serghey Rodin 12 lat temu
rodzic
commit
6959c38f88
1 zmienionych plików z 3 dodań i 0 usunięć
  1. 3 0
      bin/v-restore-user

+ 3 - 0
bin/v-restore-user

@@ -9,6 +9,9 @@
 #                    Variable&Function                     #
 #----------------------------------------------------------#
 
+# Import VESTA variable for cron launch
+source /etc/profile
+
 # Argument defenition
 user=$1
 backup=$2