Troubleshooting

Is this way legal?