Commit 98366427 authored by Efthymia Bika's avatar Efthymia Bika
Browse files

Change validation order

parent 0ac9dd03
......@@ -126,9 +126,9 @@
function check_fields(restore) {
if(!restore) {
return (check_backup_name()
&& check_directory("directory")
return(check_directory("directory")
&& check_cloud()
&& check_backup_name()
&& check_passphrase());
}
return check_directory("res-directory");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment