No error when scw exec fails
NoKriK opened this issue · 0 comments
NoKriK commented
To reproduce: Try to exec something when the server is starting
➜ ~ scw create Ubuntu_Utopic_14_10
29ba8d8f-5b6c-49a8-8100-cef936aa336b
➜ ~ scw start 29ba8d8f-5b6c-49a8-8100-cef936aa336b
29ba8d8f-5b6c-49a8-8100-cef936aa336b
➜ ~ scw exec 29ba8d8f-5b6c-49a8-8100-cef936aa336b
usage: scw exec [OPTIONS] SERVER COMMAND [ARGS...]. See 'scw exec --help'.
➜ ~ scw exec 29ba8d8f-5b6c-49a8-8100-cef936aa336b ls
➜ ~ scw exec 29ba8d8f-5b6c-49a8-8100-cef936aa336b ls -l
➜ ~ scw exec 29ba8d8f-5b6c-49a8-8100-cef936aa336b ls -la
➜ ~ scw exec 29ba8d8f-5b6c-49a8-8100-cef936aa336b bash
root@determined-thompson:~#
root@determined-thompson:~#
root@determined-thompson:~# exit
➜ ~ scw exec 29ba8d8f-5b6c-49a8-8100-cef936aa336b ls -la
total 28
drwx------ 4 root root 4096 Jun 5 14:52 .
drwxr-xr-x 21 root root 4096 Mar 17 15:18 ..
-rw-r--r-- 1 root root 3106 Feb 20 2014 .bashrc
drwx------ 2 root root 4096 Jun 5 14:52 .cache
-rw-r--r-- 1 root root 140 Feb 20 2014 .profile
-rw-rw-r-- 1 root root 1240 Mar 17 14:45 .s3cfg.sample
drwx------ 2 root root 4096 Jun 5 14:51 .ssh
➜ ~ scw exec 29ba8d8f-5b6c-49a8-8100-cef936aa336b ls -la
total 28
drwx------ 4 root root 4096 Jun 5 14:52 .
drwxr-xr-x 21 root root 4096 Mar 17 15:18 ..
-rw-r--r-- 1 root root 3106 Feb 20 2014 .bashrc
drwx------ 2 root root 4096 Jun 5 14:52 .cache
-rw-r--r-- 1 root root 140 Feb 20 2014 .profile
-rw-rw-r-- 1 root root 1240 Mar 17 14:45 .s3cfg.sample
drwx------ 2 root root 4096 Jun 5 14:51 .ssh
➜ ~ scw exec 29ba8d8f-5b6c-49a8-8100-cef936aa336b bash
root@determined-thompson:~#