aboutsummaryrefslogtreecommitdiff
path: root/src/nix/run.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix/run.cc')
-rw-r--r--src/nix/run.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/run.cc b/src/nix/run.cc
index 3e2c8b4f3..3701ffe3d 100644
--- a/src/nix/run.cc
+++ b/src/nix/run.cc
@@ -149,7 +149,7 @@ struct CmdRun : InstallableCommand, RunCommon
CmdRun()
{
- expectArgs("args", &args);
+ expectPathArgs("args", &args);
}
std::string description() override